firebase.auth. ActionCodeInfo
A response from firebase.auth.Auth#checkActionCode.
Property
operation
string
The type of operation that generated the action code. This could be:
PASSWORD_RESET
: password reset code generated via firebase.auth.Auth#sendPasswordResetEmail.VERIFY_EMAIL
: email verification code generated via firebase.User#sendEmailVerification.RECOVER_EMAIL
: email change revocation code generated via firebase.User#updateEmail.EMAIL_SIGNIN
: email sign in code generated via firebase.auth.Auth#sendSignInLinkToEmail.
Abstract type
data
{email: (nullable string or undefined), fromEmail: (nullable string or undefined)}
The data associated with the action code.
For the PASSWORD_RESET, VERIFY_EMAIL, and RECOVER_EMAIL actions, this object contains an email
field with the address the email was sent to.
For the RECOVER_EMAIL action, which allows a user to undo an email address change, this object also contains a fromEmail
field with the user account's new email address. After the action completes, the user's email address will
revert to the value in the email
field from the value in fromEmail
field.