Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data NewPasswordReset
- data CompletePasswordReset = CompletePasswordReset {}
- data PasswordResetIdentity
- newtype PasswordResetKey = PasswordResetKey {}
- mkPasswordResetKey :: UserId -> PasswordResetKey
- newtype PasswordResetCode = PasswordResetCode {}
- data PasswordReset = PasswordReset {}
Documentation
data NewPasswordReset Source #
The payload for initiating a password reset.
NewPasswordReset EmailAddress | |
NewPasswordResetUnsupportedPhone | Resetting via phone is not really supported anymore, but this is still here to support older versions of the endpoint. |
Instances
data CompletePasswordReset Source #
The payload for completing a password reset.
Instances
data PasswordResetIdentity Source #
The target identity of a password reset.
PasswordResetIdentityKey PasswordResetKey | An opaque identity key for a pending password reset. |
PasswordResetEmailIdentity EmailAddress | A known email address with a pending password reset. |
PasswordResetPhoneIdentity Phone | A known phone number with a pending password reset. |
Instances
newtype PasswordResetKey Source #
Opaque identifier per user (SHA256 of the user ID).
Instances
newtype PasswordResetCode Source #
Random code, acting as a very short-lived, single-use password.
Instances
deprecated
data PasswordReset Source #