Search
Preparing search index...
The search index is not available
Keiser Metrics SDK API - v4.15.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Keiser Metrics SDK API - v4.15.1
session
UserSessionHandler
Class UserSessionHandler
Hierarchy
BaseSessionHandler
UserSessionHandler
Index
Constructors
constructor
Accessors
access
Token
connection
decoded
Access
Token
decoded
Refresh
Token
keep
Alive
on
Access
Token
Change
Event
on
Refresh
Token
Change
Event
refresh
Token
user
Id
Methods
action
close
logout
subscribe
ToModel
subscribe
ToModel
List
Constructors
constructor
new
User
Session
Handler
(
connection
:
MetricsConnection
, userResponse
:
UserResponse
)
:
UserSessionHandler
Parameters
connection:
MetricsConnection
userResponse:
UserResponse
Returns
UserSessionHandler
Accessors
access
Token
get
accessToken
(
)
:
string
Returns
string
connection
get
connection
(
)
:
MetricsConnection
Returns
MetricsConnection
decoded
Access
Token
get
decodedAccessToken
(
)
:
AccessToken
Returns
AccessToken
decoded
Refresh
Token
get
decodedRefreshToken
(
)
:
null
|
RefreshToken
Returns
null
|
RefreshToken
keep
Alive
get
keepAlive
(
)
:
boolean
set
keepAlive
(
value
:
boolean
)
:
void
Returns
boolean
Parameters
value:
boolean
Returns
void
on
Access
Token
Change
Event
get
onAccessTokenChangeEvent
(
)
:
IEvent
<
AccessTokenChangeEvent
>
Returns
IEvent
<
AccessTokenChangeEvent
>
on
Refresh
Token
Change
Event
get
onRefreshTokenChangeEvent
(
)
:
IEvent
<
RefreshTokenChangeEvent
>
Returns
IEvent
<
RefreshTokenChangeEvent
>
refresh
Token
get
refreshToken
(
)
:
null
|
string
Returns
null
|
string
user
Id
get
userId
(
)
:
number
Returns
number
Methods
action
action
(
action
:
string
, params
?:
Object
)
:
Promise
<
AuthenticatedResponse
>
Parameters
action:
string
params:
Object
= {}
Returns
Promise
<
AuthenticatedResponse
>
close
close
(
)
:
void
Returns
void
logout
logout
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
subscribe
ToModel
subscribe
ToModel
(
subscribeParameters
:
ModelSubscribeParameters
, callback
:
(
modelChangeEvent
:
ModelChangeEvent
)
=>
void
)
:
Promise
<
(
)
=>
Promise
<
void
>
>
Parameters
subscribeParameters:
ModelSubscribeParameters
callback:
(
modelChangeEvent
:
ModelChangeEvent
)
=>
void
(
modelChangeEvent
:
ModelChangeEvent
)
:
void
Parameters
modelChangeEvent:
ModelChangeEvent
Returns
void
Returns
Promise
<
(
)
=>
Promise
<
void
>
>
subscribe
ToModel
List
subscribe
ToModel
List
(
subscribeParameters
:
ListSubscribeParameters
, callback
:
(
modelChangeEvent
:
ModelChangeEvent
)
=>
void
)
:
Promise
<
(
)
=>
Promise
<
void
>
>
Parameters
subscribeParameters:
ListSubscribeParameters
callback:
(
modelChangeEvent
:
ModelChangeEvent
)
=>
void
(
modelChangeEvent
:
ModelChangeEvent
)
:
void
Parameters
modelChangeEvent:
ModelChangeEvent
Returns
void
Returns
Promise
<
(
)
=>
Promise
<
void
>
>
Modules
session
Base
Session
Handler
Facility
User
Session
Kiosk
Session
Kiosk
Session
Handler
Strength
Machine
Session
Strength
Machine
Session
Handler
User
Session
User
Session
Base
User
Session
Handler
constructor
access
Token
connection
decoded
Access
Token
decoded
Refresh
Token
keep
Alive
on
Access
Token
Change
Event
on
Refresh
Token
Change
Event
refresh
Token
user
Id
action
close
logout
subscribe
ToModel
subscribe
ToModel
List
Access
Token
Access
Token
Change
Event
Auth
Prefill
Params
Authenticated
Response
Check
Return
Route
Response
Facility
Kiosk
Token
Response
JWTToken
Kiosk
Token
Kiosk
Token
Change
Event
List
Subscribe
Parameters
Model
Change
Event
Model
Subscribe
Parameters
Redirect
Response
Refresh
Token
Refresh
Token
Change
Event
Session
Token
Strength
Machine
Initialize
Response
Strength
Machine
Token
Strength
Machine
Token
Change
Event
Subscription
Response
Session
Handler