MCPcopy Create free account
hub / github.com/auth0/angular2-jwt / JwtConfig

Interface JwtConfig

projects/angular-jwt/src/lib/angular-jwt.module.ts:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11import { JwtHelperService } from './jwthelper.service';
12
13export interface JwtConfig {
14 tokenGetter?: (
15 request?: HttpRequest<any>
16 ) => string | null | Promise<string | null>;
17 headerName?: string;
18 authScheme?: string | ((request?: HttpRequest<any>) => string);
19 allowedDomains?: Array<string | RegExp>;
20 disallowedRoutes?: Array<string | RegExp>;
21 throwNoTokenError?: boolean;
22 skipWhenExpired?: boolean;
23}
24
25export interface JwtModuleOptions {
26 jwtOptionsProvider?: Provider;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected