Versions in this module Expand all Collapse all v0 v0.0.4 Feb 22, 2023 Changes in this version + type User struct + Credentials []webauthn.Credential + DisplayName string + ID uint64 + Name string + func NewUser(name string) *User + func UnmarshalUser(user string) (*User, error) + func (u *User) AddCredential(cred webauthn.Credential) + func (u User) CredentialById(id []byte) (*webauthn.Credential, error) + func (u User) Marshal() (string, error) + func (u User) UserRegistrationOptions(credCreateOptions *protocol.PublicKeyCredentialCreationOptions) + func (u User) WebAuthnCredentials() []webauthn.Credential + func (u User) WebAuthnDisplayName() string + func (u User) WebAuthnID() []byte + func (u User) WebAuthnIcon() string + func (u User) WebAuthnName() string