import { Injectable } from '@angular/core' ; import { Abp } from './../abp' ; @ Injectable ( ) export class TokenService { getToken ( ) { return Abp . auth . getToken ( ) ; } getTokenCookieName ( ) { return Abp . auth . tokenCookieName ; } clearToken ( ) { Abp . auth . clearToken ( ) ; } setToken ( authToken , expireDate ? ) { Abp . auth . setToken ( authToken , expireDate ) ; } }