expirytime finally working
This commit is contained in:
@ -33,6 +33,10 @@ export class NavigationComponent {
|
||||
})
|
||||
}
|
||||
|
||||
get expiryTime(): Observable<number> {
|
||||
return this.tokenService.expiryTime
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.authenticated = this.tokenService.checkAuthenticated()
|
||||
}
|
||||
|
Reference in New Issue
Block a user