Documentation
¶
Index ¶
- func Init(cfg *webauthn.Config) error
- func Register(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 Register ¶
func Register(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.