Link Search Menu Expand Document

Constructor: auth.sentCodeTypeEmailCode

Back to constructors index

The code was sent via the previously configured login email »

Attributes:

NameTypeRequiredDescription
apple_signin_allowedBoolOptionalWhether authorization through Apple ID is allowed
google_signin_allowedBoolOptionalWhether authorization through Google ID is allowed
email_patternstringYesPattern of the email
lengthintYesLength of the sent verification code
reset_available_periodintOptionalClients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users).
reset_pending_dateintOptionalAn email reset was already requested, and will occur at the specified date.

Type: auth.SentCodeType

Example:

$auth_sentCodeTypeEmailCode = ['_' => 'auth.sentCodeTypeEmailCode', 'apple_signin_allowed' => Bool, 'google_signin_allowed' => Bool, 'email_pattern' => 'string', 'length' => int, 'reset_available_period' => int, 'reset_pending_date' => int];