Search
Preparing search index...
The search index is not available
ngx-customapp-sdk
Options
All
Public
Public/Protected
All
Inherited
Menu
ngx-customapp-sdk
ngx-customapp-jwt
JwtGuard
Class JwtGuard<Credentials, AuthResponse, UserInfo>
Type Parameters
Credentials
AuthResponse
UserInfo
Hierarchy
JwtGuard
Implements
CanActivate
Index
Constructors
constructor
Methods
can
Activate
Constructors
constructor
new
Jwt
Guard
<
Credentials
,
AuthResponse
,
UserInfo
>
(
config
:
JwtConfig
<
Credentials
,
AuthResponse
,
UserInfo
,
number
>
, a
:
JwtActions
<
Credentials
,
AuthResponse
,
UserInfo
,
number
>
, s
:
JwtSelectors
<
UserInfo
>
, jwtService
:
JwtService
<
Credentials
,
AuthResponse
,
UserInfo
,
number
>
, actions$
:
Actions
<
Action
>
, store
:
Store
<
JwtAppRootStateBase
<
UserInfo
>
>
, noFreshJwtListener
:
NoFreshJwtListener
)
:
JwtGuard
<
Credentials
,
AuthResponse
,
UserInfo
>
Type Parameters
Credentials
AuthResponse
UserInfo
Parameters
config:
JwtConfig
<
Credentials
,
AuthResponse
,
UserInfo
,
number
>
a:
JwtActions
<
Credentials
,
AuthResponse
,
UserInfo
,
number
>
s:
JwtSelectors
<
UserInfo
>
jwtService:
JwtService
<
Credentials
,
AuthResponse
,
UserInfo
,
number
>
actions$:
Actions
<
Action
>
store:
Store
<
JwtAppRootStateBase
<
UserInfo
>
>
noFreshJwtListener:
NoFreshJwtListener
Returns
JwtGuard
<
Credentials
,
AuthResponse
,
UserInfo
>
Methods
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
>
Modules
customapp-
rxjs-
websocket
ngx-
customapp-
errors
ngx-
customapp-
jwt
ngx-
customapp-
pattern-
auth-
before-
socket
ngx-
customapp-
proto-
http
Jwt
Guard
constructor
can
Activate
Generated using
TypeDoc