Documentation ¶
Index ¶
- func Init(cfg *webauthn.Config) error
- func RegisterBackend(r echo.RouteRegister)
- func RegisterLogin(r echo.RouteRegister)
- type UserHandle
- func (u *UserHandle) GetUser(ctx echo.Context, username string, opType cw.Type, stage cw.Stage) (webauthn.User, error)
- func (u *UserHandle) Login(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error
- func (u *UserHandle) Register(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error
- func (u *UserHandle) Unbind(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBackend ¶ added in v1.4.1
func RegisterBackend(r echo.RouteRegister)
func RegisterLogin ¶ added in v1.4.1
func RegisterLogin(r echo.RouteRegister)
Types ¶
type UserHandle ¶
type UserHandle struct { }
func (*UserHandle) Login ¶
func (u *UserHandle) Login(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error
func (*UserHandle) Register ¶
func (u *UserHandle) Register(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error
func (*UserHandle) Unbind ¶
func (u *UserHandle) Unbind(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error
Click to show internal directories.
Click to hide internal directories.