ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
15 lines (14 loc) • 773 B
TypeScript
import { ActivatedRouteSnapshot, Route, RouterStateSnapshot } from '@angular/router';
import { OktaService } from '../_services/okta.service';
import { ActiveRouteService } from "../_services/active-route.service";
import * as i0 from "@angular/core";
export declare class OktaAuthGuard {
private activeRouteService;
private oktaService;
constructor(activeRouteService: ActiveRouteService, oktaService: OktaService);
canLoad(route: Route): boolean;
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<OktaAuthGuard, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OktaAuthGuard>;
}