customer

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg *webauthn.Config) error

func RegisterFrontend added in v1.4.1

func RegisterFrontend(r echo.RouteRegister)

func RegisterLogin added in v1.4.1

func RegisterLogin(r echo.RouteRegister)

Types

type CustomerHandle

type CustomerHandle struct {
}

func (*CustomerHandle) GetUser

func (u *CustomerHandle) GetUser(ctx echo.Context, username string, opType cw.Type, stage cw.Stage) (webauthn.User, error)

func (*CustomerHandle) Login

func (u *CustomerHandle) Login(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error

func (*CustomerHandle) Register

func (u *CustomerHandle) Register(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error

func (*CustomerHandle) Unbind

func (u *CustomerHandle) Unbind(ctx echo.Context, user webauthn.User, cred *webauthn.Credential) error

Jump to

Keyboard shortcuts

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