Add todo about passkey naming
This commit is contained in:
parent
a653477e7f
commit
fc0875e494
1 changed files with 5 additions and 1 deletions
|
@ -67,7 +67,11 @@ type Account struct {
|
||||||
// Whether the account got verified and is allowed to be active
|
// Whether the account got verified and is allowed to be active
|
||||||
// For local accounts being active means being allowed to login and perform interactions
|
// For local accounts being active means being allowed to login and perform interactions
|
||||||
// For remote users, if an account is not verified, any interactions it sends are discarded
|
// For remote users, if an account is not verified, any interactions it sends are discarded
|
||||||
Verified bool
|
Verified bool
|
||||||
|
// TODO: Turn this into a map to give passkeys names.
|
||||||
|
// Needed for supporting a decent passkey management interface.
|
||||||
|
// Or check if webauthn.Credential has sufficiently easy to identify data
|
||||||
|
// to use instead of a string mapping
|
||||||
PasskeyCredentials []webauthn.Credential `gorm:"serializer:json"` // Webauthn credentials data
|
PasskeyCredentials []webauthn.Credential `gorm:"serializer:json"` // Webauthn credentials data
|
||||||
// Has a RemoteAccountLinks included if remote user
|
// Has a RemoteAccountLinks included if remote user
|
||||||
RemoteLinks *RemoteAccountLinks
|
RemoteLinks *RemoteAccountLinks
|
||||||
|
|
Loading…
Reference in a new issue