auth.passwordRecovery

Recovery info of a 2FA password, only for accounts with a recovery email configured.

Constructor schema is available as of layer 27. Switch ยป

Parameters

Name Type Description
email_pattern string The email to which the recovery code was sent must match this pattern.

Type

auth.PasswordRecovery

Related pages

Pattern matching

Some methods require the client to verify if the data obtained from an external source matches a certain pattern.

Two-factor authentication

How to login to a user's account if they have enabled 2FA, how to change password.