UNPKG

503 BTypeScriptView Raw
1export declare abstract class OAuthModuleConfig {
2 resourceServer: OAuthResourceServerConfig;
3}
4export declare abstract class OAuthResourceServerConfig {
5 /**
6 * Urls for which calls should be intercepted.
7 * If there is an ResourceServerErrorHandler registered, it is used for them.
8 * If sendAccessToken is set to true, the access_token is send to them too.
9 */
10 allowedUrls?: Array<string>;
11 sendAccessToken: boolean;
12 customUrlValidation?: (url: string) => boolean;
13}