|
TDLib
|
Inherits AuthorizationState.
TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.
Public Member Functions | |
| authorizationStateWaitEmailCode () | |
| authorizationStateWaitEmailCode (bool allow_apple_id_, bool allow_google_id_, object_ptr< emailAddressAuthenticationCodeInfo > &&code_info_, object_ptr< EmailAddressResetState > &&email_address_reset_state_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| bool | allow_apple_id_ |
| True, if authorization through Apple ID is allowed. | |
| bool | allow_google_id_ |
| True, if authorization through Google ID is allowed. | |
| object_ptr< emailAddressAuthenticationCodeInfo > | code_info_ |
| Information about the sent authentication code. | |
| object_ptr< EmailAddressResetState > | email_address_reset_state_ |
| Reset state of the email address; may be null if the email address can't be reset. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1868627365 |
| Identifier uniquely determining a type of the object. | |
| authorizationStateWaitEmailCode | ( | ) |
TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.
| authorizationStateWaitEmailCode | ( | bool | allow_apple_id_, |
| bool | allow_google_id_, | ||
| object_ptr< emailAddressAuthenticationCodeInfo > && | code_info_, | ||
| object_ptr< EmailAddressResetState > && | email_address_reset_state_ ) |
TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.
| [in] | allow_apple_id_ | True, if authorization through Apple ID is allowed. |
| [in] | allow_google_id_ | True, if authorization through Google ID is allowed. |
| [in] | code_info_ | Information about the sent authentication code. |
| [in] | email_address_reset_state_ | Reset state of the email address; may be null if the email address can't be reset. |
|
finalvirtual |