Versions in this module Expand all Collapse all v0 v0.7.0 Dec 4, 2025 Changes in this version + type NoBinder struct + func (n *NoBinder) Bind(ctx context.Context, longTerm token.Identity, ephemeral ...token.Identity) error + type TypedSignerDeserializer struct + func (t *TypedSignerDeserializer) DeserializeSigner(ctx context.Context, typ identity.Type, raw []byte) (driver.Signer, error) v0.5.0 Jul 17, 2025 Changes in this version + const MaxPriority + var PriorityComparison = func(a, b LocalIdentityWithPriority) int + type GetIdentityFunc func(ctx context.Context, auditInfo []byte) (driver.Identity, []byte, error) + type IdentityInfo struct + func NewIdentityInfo(localIdentity *LocalIdentity, ...) *IdentityInfo + func (i *IdentityInfo) Anonymous() bool + func (i *IdentityInfo) EnrollmentID() string + func (i *IdentityInfo) Get(ctx context.Context) (driver2.Identity, []byte, error) + func (i *IdentityInfo) ID() string + func (i *IdentityInfo) Remote() bool + type KeyManager interface + Anonymous func() bool + EnrollmentID func() string + Identity func(ctx context.Context, auditInfo []byte) (driver.Identity, []byte, error) + IdentityType func() identity.Type + IsRemote func() bool + type KeyManagerProvider interface + Get func(identityConfig *driver.IdentityConfiguration) (KeyManager, error) + type LocalIdentity struct + Anonymous bool + Default bool + EnrollmentID string + GetIdentity GetIdentityFunc + Name string + Remote bool + func (i *LocalIdentity) String() string + type LocalIdentityWithPriority struct + Identity *LocalIdentity + Priority int + type LocalMembership struct + DefaultAnonymous bool + IdentityProvider idriver.IdentityProvider + IdentityType string + KeyManagerProviders []KeyManagerProvider + func NewLocalMembership(logger logging.Logger, config idriver.Config, ...) *LocalMembership + func (l *LocalMembership) DefaultNetworkIdentity() driver.Identity + func (l *LocalMembership) GetDefaultIdentifier() string + func (l *LocalMembership) GetIdentifier(id driver.Identity) (string, error) + func (l *LocalMembership) GetIdentityInfo(label string, auditInfo []byte) (idriver.IdentityInfo, error) + func (l *LocalMembership) IDs() ([]string, error) + func (l *LocalMembership) IsMe(ctx context.Context, id driver.Identity) bool + func (l *LocalMembership) Load(identities []*idriver.ConfiguredIdentity, targets []view.Identity) error + func (l *LocalMembership) RegisterIdentity(ctx context.Context, idConfig driver.IdentityConfiguration) error + type TypedIdentityInfo struct + BinderService idriver.BinderService + EnrollmentID string + GetIdentity func(context.Context, []byte) (driver.Identity, []byte, error) + IdentityProvider idriver.IdentityProvider + IdentityType identity.Type + RootIdentity driver.Identity + func (i *TypedIdentityInfo) Get(ctx context.Context, auditInfo []byte) (driver.Identity, []byte, error)