This commit is contained in:
parent
8d4ba2ecae
commit
67b507f4bd
25 changed files with 74 additions and 27 deletions
|
@ -1,5 +1,10 @@
|
|||
package models
|
||||
|
||||
// One authentication method linked to one account.
|
||||
// Contains the method and whatever the token may be
|
||||
// For a password, this would be a hash of that password,
|
||||
// totp would be the seed,
|
||||
// and passkey would be the webauthn.Credential, marshalled into json
|
||||
type UserAuthMethod struct {
|
||||
User User
|
||||
UserId string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue