Search
Preparing search index...
The search index is not available
@netgrif/components-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@netgrif/components-core
AuthorityGuardService
Class AuthorityGuardService
Hierarchy
AuthorityGuardService
Implements
CanActivate
Index
Constructors
constructor
Properties
_config
Service
_login
Url
_redirect
Service
_router
_user
Service
Methods
can
Access
View
can
Activate
Constructors
constructor
new
Authority
Guard
Service
(
_redirectService
:
RedirectService
, _userService
:
UserService
, _configService
:
ConfigurationService
, _router
:
Router
)
:
AuthorityGuardService
Parameters
_redirectService:
RedirectService
_userService:
UserService
_configService:
ConfigurationService
_router:
Router
Returns
AuthorityGuardService
Properties
Protected
_config
Service
_config
Service
:
ConfigurationService
Private
Readonly
_login
Url
_login
Url
:
string
Protected
_redirect
Service
_redirect
Service
:
RedirectService
Protected
_router
_router
:
Router
Protected
_user
Service
_user
Service
:
UserService
Methods
can
Access
View
can
Access
View
(
view
:
View
)
:
boolean
Parameters
view:
View
Returns
boolean
can
Activate
can
Activate
(
route
:
ActivatedRouteSnapshot
, state
:
RouterStateSnapshot
)
:
boolean
|
UrlTree
|
Observable
<
boolean
|
UrlTree
>
|
Promise
<
boolean
|
UrlTree
>
Parameters
route:
ActivatedRouteSnapshot
state:
RouterStateSnapshot
Returns
boolean
|
UrlTree
|
Observable
<
boolean
|
UrlTree
>
|
Promise
<
boolean
|
UrlTree
>
Exports
Authority
Guard
Service
constructor
_config
Service
_login
Url
_redirect
Service
_router
_user
Service
can
Access
View
can
Activate
Generated using
TypeDoc