|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Types | |
| using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| 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 Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1225325317 |
| Identifier uniquely determining a type of the object. | |
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>.
| td::td_api::checkAuthenticationPasskey::checkAuthenticationPasskey | ( | ) |
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>.
| td::td_api::checkAuthenticationPasskey::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 |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| bytes td::td_api::checkAuthenticationPasskey::authenticator_data_ |
| string td::td_api::checkAuthenticationPasskey::client_data_ |
| string td::td_api::checkAuthenticationPasskey::credential_id_ |
|
static |
| bytes td::td_api::checkAuthenticationPasskey::signature_ |
| bytes td::td_api::checkAuthenticationPasskey::user_handle_ |