tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::checkAuthenticationPasskey Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::checkAuthenticationPasskey:
td::td_api::Function td::TlObject

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (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.
 

Detailed Description

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>.

Definition at line 91029 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 91074 of file td_api.h.

Constructor & Destructor Documentation

◆ checkAuthenticationPasskey() [1/2]

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>.

◆ checkAuthenticationPasskey() [2/2]

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>.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::checkAuthenticationPasskey::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ authenticator_data_

bytes td::td_api::checkAuthenticationPasskey::authenticator_data_

Authenticator data of the application that created the credential.

Definition at line 91044 of file td_api.h.

◆ client_data_

string td::td_api::checkAuthenticationPasskey::client_data_

JSON-encoded client data.

Definition at line 91042 of file td_api.h.

◆ credential_id_

string td::td_api::checkAuthenticationPasskey::credential_id_

Base64url-encoded identifier of the credential.

Definition at line 91040 of file td_api.h.

◆ ID

const std::int32_t td::td_api::checkAuthenticationPasskey::ID = 1225325317
static

Identifier uniquely determining a type of the object.

Definition at line 91071 of file td_api.h.

◆ signature_

bytes td::td_api::checkAuthenticationPasskey::signature_

Cryptographic signature of the credential.

Definition at line 91046 of file td_api.h.

◆ user_handle_

bytes td::td_api::checkAuthenticationPasskey::user_handle_

User handle of the passkey.

Definition at line 91048 of file td_api.h.


The documentation for this class was generated from the following file: