angular-auth-oidc-client
Version:
Angular Lib for OpenID Connect & OAuth2
34 lines (33 loc) • 1.57 kB
TypeScript
import { Observable } from 'rxjs';
import { OpenIdConfiguration } from '../config/openid-configuration';
import { AuthResult, CallbackContext } from '../flows/callback-context';
import * as i0 from "@angular/core";
export declare const getFrameId: (configId?: string) => string;
type RefreshSessionWithIFrameCompleted = {
success: true;
authResult: AuthResult | null;
configId?: string;
} | {
success: false;
configId?: string;
};
export declare class SilentRenewService {
private readonly refreshSessionWithIFrameCompletedInternal$;
get refreshSessionWithIFrameCompleted$(): Observable<RefreshSessionWithIFrameCompleted>;
private readonly loggerService;
private readonly iFrameService;
private readonly flowsService;
private readonly resetAuthDataService;
private readonly flowsDataService;
private readonly authStateService;
private readonly flowHelper;
private readonly implicitFlowCallbackService;
private readonly intervalService;
getOrCreateIframe(config: OpenIdConfiguration): HTMLIFrameElement;
isSilentRenewConfigured(configuration: OpenIdConfiguration): boolean;
codeFlowCallbackSilentRenewIframe(urlParts: string[], config: OpenIdConfiguration, allConfigs: OpenIdConfiguration[]): Observable<CallbackContext>;
silentRenewEventHandler(e: CustomEvent, config: OpenIdConfiguration, allConfigs: OpenIdConfiguration[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SilentRenewService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SilentRenewService>;
}
export {};