Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AShirtWebauthnCredential ¶
type AShirtWebauthnCredential struct { auth.Credential AShirtWebauthnExtension }
type AShirtWebauthnExtension ¶
type CredentialEntry ¶
type ListCredentialsOutput ¶
type ListCredentialsOutput struct {
Credentials []CredentialEntry `json:"credentials"`
}
type RegistrationType ¶
type RegistrationType int
const ( // CreateOrLinkCredential reflects the usecase where CreateCredential RegistrationType = iota LinkCredential AddCredential )
type WebAuthn ¶
func (WebAuthn) BindRoutes ¶
func (a WebAuthn) BindRoutes(r chi.Router, bridge authschemes.AShirtAuthBridge)
func (WebAuthn) FriendlyName ¶
type WebAuthnRegistrationInfo ¶
type WebAuthnRegistrationInfo struct { Email string Username string FirstName string LastName string CredentialName string UserID int64 RegistrationType RegistrationType ExistingCredentials []AShirtWebauthnCredential CredentialCreatedDate time.Time }
Click to show internal directories.
Click to hide internal directories.