EmailPasswordAuth

interface EmailPasswordAuth

Class encapsulating functionality for managing Users through the AuthenticationProvider.EMAIL_PASSWORD provider.

Functions

confirmUser
Link copied to clipboard
abstract suspend fun confirmUser(token: String, tokenId: String)
Confirms a user with the given token and token id.
registerUser
Link copied to clipboard
abstract suspend fun registerUser(email: String, password: String)
Registers a new user with the given email and password.
resendConfirmationEmail
Link copied to clipboard
abstract suspend fun resendConfirmationEmail(email: String)
Resend the confirmation for a user to the given email.
resetPassword
Link copied to clipboard
abstract suspend fun resetPassword(token: String, tokenId: String, newPassword: String)
Resets the password of a user with the given token, token id, and new password.
retryCustomConfirmation
Link copied to clipboard
abstract suspend fun retryCustomConfirmation(email: String)
Retries the custom confirmation on a user for a given email.
sendResetPasswordEmail
Link copied to clipboard
abstract suspend fun sendResetPasswordEmail(email: String)
Sends a user a password reset email for the given email.