Class TdApi.AddLoginPasskey

Enclosing class:
TdApi

public static class TdApi.AddLoginPasskey extends TdApi.Function<TdApi.Passkey>
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

    Fields
    Modifier and Type
    Field
    Description
    byte[]
    Passkey attestation object.
    JSON-encoded client data.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
    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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • clientData

      public String clientData
      JSON-encoded client data.
    • attestationObject

      public byte[] attestationObject
      Passkey attestation object.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public 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. 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR