See more
public isAuthenticated(): boolean { // get the token const token = this.getToken(); // return a boolean reflecting // whether or not the token is expired return tokenNotExpired(null, token); }
public isAuthenticated(): boolean {
// get the token const token = this.getToken(); // return a boolean reflecting // whether or not the token is expired return tokenNotExpired(null, token); }