========== PKP ==========

interface LitClientSessionManager {
    checkNeedToResignSessionKey: ((params: {
        authSig: AuthSig;
        resourceAbilityRequests: LitResourceAbilityRequest[];
        sessionKeyUri: any;
    }) => Promise<boolean>);
    getExpiration: (() => string);
    getPkpSessionSigs: ((params: GetPkpSessionSigs) => Promise<SessionSigsMap>);
    getSessionKey: (() => SessionKeyPair);
    getSessionSigs: ((params: GetSessionSigsProps) => Promise<SessionSigsMap>);
    getWalletSig: ((getWalletSigProps: GetWalletSigProps) => Promise<AuthSig>);
    signSessionKey: ((params: SignSessionKeyProp) => Promise<SignSessionKeyResponse>);
    isSessionKeyPair(obj: any): boolean;
}

Implemented by

Properties

checkNeedToResignSessionKey: ((params: {
    authSig: AuthSig;
    resourceAbilityRequests: LitResourceAbilityRequest[];
    sessionKeyUri: any;
}) => Promise<boolean>)
getExpiration: (() => string)
getPkpSessionSigs: ((params: GetPkpSessionSigs) => Promise<SessionSigsMap>)
getSessionKey: (() => SessionKeyPair)
getSessionSigs: ((params: GetSessionSigsProps) => Promise<SessionSigsMap>)
getWalletSig: ((getWalletSigProps: GetWalletSigProps) => Promise<AuthSig>)
signSessionKey: ((params: SignSessionKeyProp) => Promise<SignSessionKeyResponse>)

Methods