Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceProvider ¶
type ServiceProvider interface { CredentialEntity() protocol.CredentialEntity GetServiceRecord() *types.ServiceRecord GetCredentialCreationOptions(alias string, addr string, isMobile bool) (string, error) GetCredentialAssertionOptions(alias string, allowedCredentials []protocol.CredentialDescriptor, isMobile bool) (string, error) RelyingPartyEntity() protocol.RelyingPartyEntity VerifyCreationChallenge(resp string, alias string) (*types.WebauthnCredential, error) VerifyAssertionChallenge(resp string, creds ...*idtypes.VerificationMethod) error }
func NewServiceProvider ¶
func NewServiceProvider(record *types.ServiceRecord) ServiceProvider
Click to show internal directories.
Click to hide internal directories.