UNPKG

angular-auth-oidc-client

Version:
19 lines (18 loc) 1.11 kB
import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * @deprecated Please do not use the `AutoLoginAllRoutesGuard` anymore as it is not recommended anymore, deprecated and will be removed in future versions of this library. More information [Why is AutoLoginAllRoutesGuard not recommended?](https://github.com/damienbod/angular-auth-oidc-client/issues/1549) */ export declare class AutoLoginAllRoutesGuard { private readonly autoLoginService; private readonly checkAuthService; private readonly loginService; private readonly configurationService; private readonly router; canLoad(): Observable<boolean>; canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree>; canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree>; static ɵfac: i0.ɵɵFactoryDeclaration<AutoLoginAllRoutesGuard, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AutoLoginAllRoutesGuard>; }