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
StrengthMachineSessionHandler
Class StrengthMachineSessionHandler
Hierarchy
BaseSessionHandler
StrengthMachineSessionHandler
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
Methods
action
close
logout
subscribe
ToModel
subscribe
ToModel
List
Constructors
constructor
new
Strength
Machine
Session
Handler
(
connection
:
MetricsConnection
, authenticatedResponse
:
AuthenticatedResponse
)
:
StrengthMachineSessionHandler
Parameters
connection:
MetricsConnection
authenticatedResponse:
AuthenticatedResponse
Returns
StrengthMachineSessionHandler
Accessors
access
Token
get
accessToken
(
)
:
string
Returns
string
connection
get
connection
(
)
:
MetricsConnection
Returns
MetricsConnection
decoded
Access
Token
get
decodedAccessToken
(
)
:
StrengthMachineToken
Returns
StrengthMachineToken
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
Methods
action
action
(
action
:
string
, params
?:
Object
)
:
Promise
<
any
>
Parameters
action:
string
params:
Object
= {}
Returns
Promise
<
any
>
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
constructor
access
Token
connection
decoded
Access
Token
decoded
Refresh
Token
keep
Alive
on
Access
Token
Change
Event
on
Refresh
Token
Change
Event
refresh
Token
action
close
logout
subscribe
ToModel
subscribe
ToModel
List
User
Session
User
Session
Base
User
Session
Handler
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