Constructors

Properties

$zkLoginSession: WritableAtom<
    { initialized: boolean; value: null
    | ZkLoginSession },
>
$zkLoginState: WritableAtom<ZkLoginState>

Accessors

Methods

  • Parameters

    • input: {
          clientId: string;
          extraParams?: Record<string, unknown>;
          network?: "mainnet" | "testnet" | "devnet";
          provider: AuthProvider;
          redirectUrl: string;
      }

    Returns Promise<string>

  • Parameters

    • __namedParameters: {
          bytes: string;
          client: SuiClient;
          digest: string;
          network?: "mainnet" | "testnet";
      }

    Returns Promise<{ digest: string }>

  • Parameters

    • __namedParameters: { network?: "mainnet" | "testnet" } = {}

    Returns Promise<EnokiKeypair>

  • Parameters

    • __namedParameters: { network?: "mainnet" | "testnet" } = {}

    Returns Promise<CreateZkLoginZkpApiResponse>

  • Returns Promise<null | ZkLoginSession>

  • Parameters

    • hash: string = window.location.hash

    Returns Promise<null | string>

  • Returns Promise<void>

  • Parameters

    Returns Promise<{ digest: string }>

  • Parameters

    Returns Promise<CreateSponsoredTransactionApiResponse>