| 11 | import { JwtHelperService } from './jwthelper.service'; |
| 12 | |
| 13 | export 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 | |
| 25 | export interface JwtModuleOptions { |
| 26 | jwtOptionsProvider?: Provider; |
nothing calls this directly
no outgoing calls
no test coverage detected