UNPKG

@devlearning/jwt-auth

Version:

Jwt Angular Authentication manager with automatic Refresh Token management.

10 lines (9 loc) 475 B
import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; import { JwtAuthService } from './jwt-auth.service'; import { JwtTokenBase } from '../public-api'; export declare class JwtAuthGuard<Token extends JwtTokenBase> { private readonly _jwtAuthService; constructor(_jwtAuthService: JwtAuthService<Token>); canActivateBase(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean>; }