Hierarchy

Constructors

Properties

litNodeClient: LitNodeClient

Client to connect to Lit nodes

relay: IRelay

Relay server to subsidize minting of PKPs

rpcUrl: string

Endpoint to interact with a blockchain network. Defaults to the Lit Chronicle.

Methods

  • Authenticate the user based on the provider-specific implementation and return the relevant authentication data

    Returns

    • Auth method object that contains authentication data

    Type Parameters

    Parameters

    • Optional options: T

      Optional parameters that vary based on the provider

    Returns Promise<AuthMethod>

  • Get auth method id that can be used to look up and interact with PKPs associated with the given auth method

    Returns

    • Auth method id

    Parameters

    • authMethod: AuthMethod

      Auth method object

    • Optional options: any

      Optional parameters that vary based on the provider

    Returns Promise<string>

Generated using TypeDoc