angular-simple-oidc
Version:
Angular Library implementing Open Id Connect specification. Code Flow, Refresh Tokens, Session Management, Discovery Document.
16 lines (15 loc) • 1.17 kB
TypeScript
import { InjectionToken, Provider, Optional } from '@angular/core';
import { Observable } from 'rxjs';
import { ConfigService } from 'angular-simple-oidc/config';
import { EventsService } from 'angular-simple-oidc/events';
import { PopupAuthorizationConfig } from './models';
export declare const POPUP_AUTHORIZATION_CONFIG_SERVICE: InjectionToken<ConfigService<PopupAuthorizationConfig>>;
export declare const POPUP_AUTHORIZATION_CONFIG: InjectionToken<PopupAuthorizationConfig | Observable<PopupAuthorizationConfig>>;
export declare function PopupAuthorizationConfigFactory(configInput: Observable<PopupAuthorizationConfig> | PopupAuthorizationConfig, configService: ConfigService<PopupAuthorizationConfig>, events: EventsService): () => Promise<any>;
export declare const POPUP_AUTHORIZATION_CONFIG_INITIALIZER: {
multi: boolean;
provide: InjectionToken<readonly (() => void | Observable<unknown> | Promise<unknown>)[]>;
deps: (typeof EventsService | Optional[] | InjectionToken<ConfigService<PopupAuthorizationConfig>>)[];
useFactory: typeof PopupAuthorizationConfigFactory;
};
export declare const POPUP_AUTHORIZATION_CONFIG_SERVICE_PROVIDER: Provider;