PhoneNumberAuthenticationSettings class

Contains settings for the authentication of the user's phone number.

Inheritance
Available Extensions

Constructors

PhoneNumberAuthenticationSettings({required bool allow_flash_call, required bool allow_missed_call, required bool is_current_phone_number, required bool allow_sms_retriever_api, FirebaseAuthenticationSettings? firebase_authentication_settings, required List<String> authentication_tokens, int? extra, int? clientId})
Contains settings for the authentication of the user's phone number

Properties

allow_flash_call bool
Pass true if the authentication code may be sent via a flash call to the specified phone number.
read / write
allow_missed_call bool
Pass true if the authentication code may be sent via a missed call to the specified phone number.
read / write
allow_sms_retriever_api bool
For official applications only. True, if the application can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details.
read / write
authentication_tokens List<String>
List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
firebase_authentication_settings FirebaseAuthenticationSettings?
For official Android and iOS applications only; pass null otherwise. Settings for Firebase Authentication.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
is_current_phone_number bool
Pass true if the authenticated phone number is used on the current device.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) PhoneNumberAuthenticationSettings?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"phoneNumberAuthenticationSettings"