Set loginError
back to null
.
true
if the code
argument is invalid.
Set if an error occurs while processing sendForgotPasswordCode()
or
resetForgottenPassword()
.
true
if the forgot password code has been successfully sent to the user.
Set isShowingForgotPassword
to false
.
true
while processing loginWithUsernamePassword()
.
true
if the user logged in using MFA and a code is required to finish the
login attempt. Prompt the user for a code and call submitMfaCode()
.
true
if the user logged in using a temporary password. Prompt the user
for a new password and call resetTemporaryPassword()
.
true
while processing resetForgottenPassword()
.
true
while processing resetTemporaryPassword()
.
true
while processing sendForgotPasswordCode()
.
true
when showing the forgot password flow.
true
while processing submitMfaCode()
.
Set if an error occurs while processing loginWithUsernamePassword()
or
resetTemporaryPassword()
.
Open redirect user to the Google sign-in page.
Attempt to use the username
and password
arguments to create a session.
Will call onLogin()
if successful, otherwise will set loginError
.
true
if the newPasswordConfirmed
argument is invalid (must match the
newPassword
argument).
true
if the newPassword
argument has a lowercase letter (required to
be valid).
true
if the newPassword
argument has at least the minimum number of
characters (required to be valid).
true
if the newPassword
argument has a number (required to be valid).
true
if the newPassword
argument has a special character (required to
be valid).
true
if the newPassword
argument has an uppercase letter (required to
be valid).
true
if the newPassword
argument is invalid.
true
if the password
argument is invalid.
Attempt to use the code
, newPassword
, and newPasswordConfirmed
arguments to reset the user's password. A failed request will set
forgotPasswordError
.
Attempt to use newPassword
and newPasswordConfirmed
arguments to reset
the user's password and create a session. Will call onLogin()
if
successful, otherwise will set loginError
.
Attempt to use the username
argument to start the forgot password
process. This will send the user an email with a code to enter. A failed
request will set forgotPasswordError
.
Set isShowingForgotPassword
to true
.
Attempt to use code
argument to submit the MFA code and create a session.
Will call onLogin()
if successful, otherwise will set loginError
.
true
if the username
argument is invalid.
Set
forgotPasswordError
back tonull
.