UNPKG

iffe-oidc

Version:
25 lines (24 loc) 807 B
export declare class OIDCManager { private _rps; private _rpConfigDB; private _sessionDB; private _redirectUri; private _clientId; private _clientSecret; private _authEndpoint; private _tokenEndpoint; private _registration; private _options; constructor(redisClient: any, options: any); createSession(providerId: string): Promise<string>; private _getRelyingParty; private _initRelyingParty; private _authCodeUrl; getIdToken(code: string): Promise<any>; confirmSession(sessionKey: string, account: string): Promise<void>; private _obtainPodConsent; private _getTokenUrl; getAuthnUrl(sessionKey: string): Promise<string>; getSession(sessionKey: string): Promise<any>; deleteSession(sessionKey: string): Promise<void>; }