Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data AuthenticationSubsystem m a where Source #
internalLookupPasswordResetCode :: forall r. Member AuthenticationSubsystem r => EmailKey -> Sem r (Maybe PasswordResetPair) Source #
verifyProviderPassword :: forall r. Member AuthenticationSubsystem r => ProviderId -> PlainTextPassword6 -> Sem r (Bool, PasswordStatus) Source #
verifyUserPasswordError :: forall r. Member AuthenticationSubsystem r => Local UserId -> PlainTextPassword6 -> Sem r () Source #
verifyUserPassword :: forall r. Member AuthenticationSubsystem r => UserId -> PlainTextPassword6 -> Sem r (Bool, PasswordStatus) Source #
verifyPassword :: forall r. Member AuthenticationSubsystem r => PlainTextPassword6 -> Password -> Sem r (Bool, PasswordStatus) Source #
resetPassword :: forall r. Member AuthenticationSubsystem r => PasswordResetIdentity -> PasswordResetCode -> PlainTextPassword8 -> Sem r () Source #
createPasswordResetCode :: forall r. Member AuthenticationSubsystem r => EmailKey -> Sem r () Source #
reauthenticateEither :: forall r. Member AuthenticationSubsystem r => UserId -> Maybe PlainTextPassword6 -> Sem r (Either ReAuthError ()) Source #
authenticateEither :: forall r. Member AuthenticationSubsystem r => UserId -> PlainTextPassword6 -> Sem r (Either AuthError ()) Source #
authenticate :: (Member (Error AuthError) r, Member AuthenticationSubsystem r) => UserId -> PlainTextPassword6 -> Sem r () Source #
reauthenticate :: (Member (Error ReAuthError) r, Member AuthenticationSubsystem r) => UserId -> Maybe PlainTextPassword6 -> Sem r () Source #