angular-simple-oidc
Version:
Angular Library implementing Open Id Connect specification. Code Flow, Refresh Tokens, Session Management, Discovery Document.
20 lines (19 loc) • 1.41 kB
TypeScript
import { TokenEndpointClientService } from './token-endpoint-client.service';
import { RefreshTokenValidationService, TokenValidationService, TokenUrlService, TokenHelperService, TokenRequestResult } from 'angular-simple-oidc/core';
import { TokenStorageService } from './token-storage.service';
import { Observable } from 'rxjs';
import { ConfigService } from 'angular-simple-oidc/config';
import { AuthConfig } from './config/models';
import { EventsService } from 'angular-simple-oidc/events';
export declare class RefreshTokenClient {
protected readonly config: ConfigService<AuthConfig>;
protected readonly tokenStorage: TokenStorageService;
protected readonly tokenUrl: TokenUrlService;
protected readonly tokenHelper: TokenHelperService;
protected readonly tokenEndpointClient: TokenEndpointClientService;
protected readonly refreshTokenValidation: RefreshTokenValidationService;
protected readonly tokenValidation: TokenValidationService;
protected readonly events: EventsService;
constructor(config: ConfigService<AuthConfig>, tokenStorage: TokenStorageService, tokenUrl: TokenUrlService, tokenHelper: TokenHelperService, tokenEndpointClient: TokenEndpointClientService, refreshTokenValidation: RefreshTokenValidationService, tokenValidation: TokenValidationService, events: EventsService);
requestTokenWithRefreshCode(): Observable<TokenRequestResult>;
}