Lit Controller

const litAuthProvider = new LitAuthProvider(
    stytchProjectId: string,
    baseUrl: string,
    walletType?: WalletType,
    aa?: AaDetails
)

authenticateWithStytch

async authenticateWithStytch(
        accessToken: string,
        userId?: string,
        method?: string
    ): Promise<AuthMethod | undefined>
export interface AuthMethod {
    authMethodType: number;
    accessToken: string;
}

mintPKP

async mintPKP(authMethod: AuthMethod): Promise<IRelayPKP>

getPKPs

initSession

Last updated