Documentation
    Preparing search index...

    Class EnokiFlow

    Use registerEnokiWallets instead

    Index

    Constructors

    Properties

    $zkLoginSession: WritableAtom<
        { initialized: boolean; value: ZkLoginSession
        | null },
    >
    $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

      Returns Promise<CreateZkLoginZkpApiResponse>

    • Returns Promise<ZkLoginSession | null>

    • Parameters

      • hash: string = window.location.hash

      Returns Promise<string | null>

    • Returns Promise<void>