webauthn

package
v1.18.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebAuthn *webauthn.WebAuthn

WebAuthn represents the global WebAuthn instance

Functions

func Init

func Init()

Init initializes the WebAuthn instance from the config.

Types

type User

type User user_model.User

User represents an implementation of webauthn.User based on User model

func (*User) WebAuthnCredentials

func (u *User) WebAuthnCredentials() []webauthn.Credential

WebAuthnCredentials implementns the webauthn.User interface

func (*User) WebAuthnDisplayName

func (u *User) WebAuthnDisplayName() string

WebAuthnDisplayName implements the webauthn.User interface

func (*User) WebAuthnID

func (u *User) WebAuthnID() []byte

WebAuthnID implements the webauthn.User interface

func (*User) WebAuthnIcon

func (u *User) WebAuthnIcon() string

WebAuthnIcon implements the webauthn.User interface

func (*User) WebAuthnName

func (u *User) WebAuthnName() string

WebAuthnName implements the webauthn.User interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL