angular-auth-oidc-client
Version:
An OpenID Connect Code Flow with PKCE,Implicit Flow client for Angular
36 lines (35 loc) • 1.18 kB
TypeScript
import { OidcSecurityStorage } from './oidc.security.storage';
export declare type SilentRenewState = 'running' | '';
export declare class OidcSecurityCommon {
private oidcSecurityStorage;
private storage_auth_result;
authResult: any;
private storage_access_token;
accessToken: string;
private storage_id_token;
idToken: string;
private storage_is_authorized;
isAuthorized: boolean | undefined;
private storage_user_data;
userData: any;
private storage_auth_nonce;
authNonce: string;
private storage_code_verifier;
code_verifier: string;
private storage_auth_state_control;
authStateControl: string;
private storage_session_state;
sessionState: any;
private storage_silent_renew_running;
silentRenewRunning: SilentRenewState;
private storage_custom_request_params;
customRequestParams: {
[key: string]: string | number | boolean;
};
constructor(oidcSecurityStorage: OidcSecurityStorage);
private retrieve;
private store;
resetStorageData(isRenewProcess: boolean): void;
getAccessToken(): any;
getIdToken(): any;
}