Represents the IdentityCreate class providing methods for creating user and profile.

Hierarchy

  • IdentityCreate

Constructors

Methods

Constructors

  • Constructs a new instance of the IdentityCreate class.

    Parameters

    Returns IdentityCreate

Methods

  • Creates a new profile for a user in a project.

    Parameters

    • Optional projectKey: string | PublicKey

      The project key or address.

    • Optional identity: string | PublicKey

      The user's identity key or address.

    • Optional confirmOptions: ConfirmOptions

      The confirmation options for the transaction.

    Returns Promise<OperationContext[]>

    A promise that resolves with an array of transaction contexts.

  • Creates a new user.

    Parameters

    • args: InitializeUserArgs

      The initialization arguments for the new user.

    • Optional confirmOptions: ConfirmOptions

      The confirmation options for the transaction.

    Returns Promise<OperationContext>

    A promise that resolves with the transaction context.

Generated using TypeDoc