File

projects/aoc-client/core/guards/aoc-auth.guard.ts

Index

Methods

Constructor

constructor(aocLoginService: AocLoginService, router: Router)
Parameters :
Name Type Optional
aocLoginService AocLoginService No
router Router No

Methods

canActivate
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot)
Parameters :
Name Type Optional
next ActivatedRouteSnapshot No
state RouterStateSnapshot No
Returns : Observable | Promise | boolean
canActivateChild
canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot)
Parameters :
Name Type Optional
childRoute ActivatedRouteSnapshot No
state RouterStateSnapshot No
Returns : any

results matching ""

    No results matching ""