UNPKG

519 BTypeScriptView Raw
1import { HttpRequest } from "@angular/common/http";
2export declare class JwtHelperService {
3 tokenGetter: () => string;
4 constructor(config?: any);
5 urlBase64Decode(str: string): string;
6 private b64decode;
7 private b64DecodeUnicode;
8 decodeToken<T = any>(token?: string): T;
9 getTokenExpirationDate(token?: string): Date | null;
10 isTokenExpired(token?: string, offsetSeconds?: number): boolean;
11 getAuthScheme(authScheme: Function | string | undefined, request: HttpRequest<any>): string;
12}