Inherits Function.
Checks a passkey to log in to the corresponding account. Call getAuthenticationPasskeyParameters to get parameters for the passkey. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword.
Returns object_ptr<Ok>.
Public Fields | |
| string | credential_id_ |
| Base64url-encoded identifier of the credential. | |
| string | client_data_ |
| JSON-encoded client data. | |
| bytes | authenticator_data_ |
| Authenticator data of the application that created the credential. | |
| bytes | signature_ |
| Cryptographic signature of the credential. | |
| bytes | user_handle_ |
| User handle of the passkey. | |
Public Types | |
| using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| checkAuthenticationPasskey () | |
| checkAuthenticationPasskey (string const &credential_id_, string const &client_data_, bytes const &authenticator_data_, bytes const &signature_, bytes const &user_handle_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 1225325317 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which checks a passkey to log in to the corresponding account. Call getAuthenticationPasskeyParameters to get parameters for the passkey. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword.
Returns object_ptr<Ok>.
| checkAuthenticationPasskey | ( | string const & | credential_id_, |
| string const & | client_data_, | ||
| bytes const & | authenticator_data_, | ||
| bytes const & | signature_, | ||
| bytes const & | user_handle_ | ||
| ) |
Creates a function, which checks a passkey to log in to the corresponding account. Call getAuthenticationPasskeyParameters to get parameters for the passkey. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword.
Returns object_ptr<Ok>.
| [in] | credential_id_ | Base64url-encoded identifier of the credential. |
| [in] | client_data_ | JSON-encoded client data. |
| [in] | authenticator_data_ | Authenticator data of the application that created the credential. |
| [in] | signature_ | Cryptographic signature of the credential. |
| [in] | user_handle_ | User handle of the passkey. |
|
finalvirtual |