Link Search Menu Expand Document

Constructor: auth.sentCodeTypeFirebaseSms

Back to constructors index

An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ».

Attributes:

NameTypeRequiredDescription
noncebytesOptionalOn Android, the nonce to be used as described in the auth documentation »
receiptstringOptionalOn iOS, must be compared with the receipt extracted from the received push notification.
push_timeoutintOptionalOn iOS: if a push notification with the ios_push_secret isn’t received within push_timeout seconds, the next_type authentication method must be used, with auth.resendCode.
lengthintYesLength of the code that will be delivered.

Type: auth.SentCodeType

Example:

$auth_sentCodeTypeFirebaseSms = ['_' => 'auth.sentCodeTypeFirebaseSms', 'nonce' => 'bytes', 'receipt' => 'string', 'push_timeout' => int, 'length' => int];