angular-oauth2-oidc
Version:
Support for OAuth 2(.1) and OpenId Connect (OIDC) in Angular
14 lines (13 loc) • 503 B
TypeScript
export declare abstract class OAuthModuleConfig {
resourceServer: OAuthResourceServerConfig;
}
export declare abstract class OAuthResourceServerConfig {
/**
* Urls for which calls should be intercepted.
* If there is an ResourceServerErrorHandler registered, it is used for them.
* If sendAccessToken is set to true, the access_token is send to them too.
*/
allowedUrls?: Array<string>;
sendAccessToken: boolean;
customUrlValidation?: (url: string) => boolean;
}