File

projects/m2-core/src/lib/core/service/system/router/admin-guard.service.ts

Index

Methods

Constructor

constructor(router: Router, logger: Logger, clientConfigService: ClientConfigService, authService: AuthService)
Parameters :
Name Type Optional
router Router No
logger Logger No
clientConfigService ClientConfigService No
authService AuthService No

Methods

canActivate
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
state RouterStateSnapshot No
Returns : Observable | Promise | boolean

results matching ""

    No results matching ""