Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + func New(st *state.State, b Backend) store.DeviceAndAuthContext + func NewComposed(st *state.State, devb DeviceBackend, srqs DeviceSessionRequestSigner, ...) store.DeviceAndAuthContext + func StoreID(mod *asserts.Model) string + type Backend interface + type DeviceBackend interface + Device func() (*auth.DeviceState, error) + Model func() (*asserts.Model, error) + Serial func() (*asserts.Serial, error) + SetDevice func(device *auth.DeviceState) error + type DeviceSessionRequestParams = store.DeviceSessionRequestParams + type DeviceSessionRequestSigner interface + SignDeviceSessionRequest func(serial *asserts.Serial, nonce string) (*asserts.DeviceSessionRequest, error) + type ProxyStoreer interface + ProxyStore func() (*asserts.Store, error)