Package org.drinkless.tdlib
Class TdApi.AddLoginPasskey
- Enclosing class:
- TdApi
Adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey.
Returns Passkey
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]Passkey attestation object.JSON-encoded client data.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey.AddLoginPasskey(String clientData, byte[] attestationObject) Creates a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
clientData
JSON-encoded client data. -
attestationObject
public byte[] attestationObjectPasskey attestation object. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddLoginPasskey
public AddLoginPasskey()Default constructor for a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey.Returns
Passkey -
AddLoginPasskey
Creates a function, which adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey.Returns
Passkey- Parameters:
clientData- JSON-encoded client data.attestationObject- Passkey attestation object.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-