angular-oauth2-oidc-codeflow-pkce
Version:
[](https://travis-ci.org/bechhansen/angular-oauth2-oidc)
14 lines (13 loc) • 701 B
TypeScript
import { OAuthStorage } from '../types';
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { OAuthResourceServerErrorHandler } from './resource-server-error-handler';
import { OAuthModuleConfig } from '../oauth-module.config';
export declare class DefaultOAuthInterceptor implements HttpInterceptor {
private authStorage;
private errorHandler;
private moduleConfig;
constructor(authStorage: OAuthStorage, errorHandler: OAuthResourceServerErrorHandler, moduleConfig: OAuthModuleConfig);
private checkUrl(url);
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
}