type
AuthCredential
Private password and lockout state associated with one user document.
Properties
| Property | Type | Description |
|---|---|---|
User | Document | The User value. |
PasswordHash | []byte | The PasswordHash value. |
FailedLoginAttempts | int | The FailedLoginAttempts value. |
LockedUntil | time.Time | The LockedUntil value. |
Verified | bool | The Verified value. |
How it works
Never crosses API or manifest boundaries.
Full signature
type AuthCredential struct {
User Document
PasswordHash []byte
FailedLoginAttempts int
LockedUntil time.Time
Verified bool
}