UNPKG

559 BTypeScriptView Raw
1/// <reference types="abp-web-resources" />
2import * as i0 from "@angular/core";
3export declare class TokenService {
4 getToken(): string;
5 getTokenCookieName(): string;
6 clearToken(): void;
7 setToken(authToken: string, expireDate?: Date): void;
8 getRefreshToken(): string;
9 getRefreshTokenCookieName(): string;
10 clearRefreshToken(): void;
11 setRefreshToken(refreshToken: string, expireDate?: Date): void;
12 static ɵfac: i0.ɵɵFactoryDeclaration<TokenService, never>;
13 static ɵprov: i0.ɵɵInjectableDeclaration<TokenService>;
14}