File

projects/lib/src/oauth-module.config.ts

Index

Properties

Properties

Optional allowedUrls
Type : Array<string>

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.

Optional customUrlValidation
Type : function
sendAccessToken
Type : boolean
export abstract class OAuthModuleConfig {
  resourceServer: OAuthResourceServerConfig;
}

export 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;
}

results matching ""

    No results matching ""