UNPKG

coersystem

Version:

Library for Angular projects

22 lines (21 loc) 746 B
import { ModuleWithProviders } from '@angular/core'; import { JwtModule } from '@auth0/angular-jwt'; import * as i0 from "@angular/core"; export declare function JWTModule(allowedDomains?: (string | RegExp)[] | undefined, disallowedRoutes?: (string | RegExp)[] | undefined): ModuleWithProviders<JwtModule>; export declare class JWTService { private readonly jwtService; /** */ get jwt(): string; /** */ get expirationDate(): string | null; /** */ get isExpired(): boolean; /** */ get claims(): any; /** */ get isValid(): boolean; /** */ UpdateJWT(jwt: string): void; static ɵfac: i0.ɵɵFactoryDeclaration<JWTService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<JWTService>; }