This commit is contained in:
parent
b6f12b7acf
commit
8f8ad3035a
33 changed files with 166 additions and 111 deletions
|
@ -13,10 +13,13 @@ import (
|
|||
"github.com/go-webauthn/webauthn/webauthn"
|
||||
)
|
||||
|
||||
// An Authenticator is used for authenticating user requests against the server
|
||||
type Authenticator struct {
|
||||
webauthn *webauthn.WebAuthn
|
||||
recentlyUsedTotpTokens map[string]time.Time
|
||||
}
|
||||
|
||||
// The next state of a login process
|
||||
type LoginNextState uint8
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue