Search
Preparing search index...
The search index is not available
Home
Session
Class Session
Hierarchy
BaseClass
<
Session
>
Session
Index
Constructors
constructor
Properties
account
expire
At
token
ttl
TTL_
MARGIN
Methods
refresh
to
Stored
Session
verify
from
Stored
Session
Constructors
constructor
new
Session
(
raw
?:
Partial
<
Session
>
)
:
Session
Parameters
Optional
raw:
Partial
<
Session
>
Returns
Session
Properties
Optional
account
account
:
Account
Optional
expire
At
expire
At
:
Date
token
token
:
string
ttl
ttl
:
number
Static
TTL_
MARGIN
TTL_
MARGIN
:
number
= 3000
Methods
Optional
refresh
refresh
(
)
:
void
Returns
void
Optional
to
Stored
Session
to
Stored
Session
(
)
:
StoredSession
Returns
StoredSession
Optional
verify
verify
(
)
:
boolean
Returns
boolean
Static
from
Stored
Session
from
Stored
Session
(
storedSession
:
StoredSession
<
Date
|
string
|
number
>
)
:
Session
Parameters
storedSession:
StoredSession
<
Date
|
string
|
number
>
Returns
Session
Globals
Session
constructor
account
expire
At
token
ttl
TTL_
MARGIN
refresh
to
Stored
Session
verify
from
Stored
Session