Search
Preparing search index...
The search index is not available
@xmtp/xmtp-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@xmtp/xmtp-js
AuthCache
Class AuthCache
Hierarchy
AuthCache
Index
Constructors
constructor
Properties
max
Age
Ms
Methods
get
Token
refresh
Constructors
constructor
new
Auth
Cache
(
authenticator
:
Authenticator
, cacheExpirySeconds
?:
number
)
:
AuthCache
Parameters
authenticator:
Authenticator
cacheExpirySeconds:
number
= DEFAULT_MAX_AGE_SECONDS
Returns
AuthCache
Properties
max
Age
Ms
max
Age
Ms
:
number
Methods
get
Token
get
Token
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
refresh
refresh
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Exports
Auth
Cache
constructor
max
Age
Ms
get
Token
refresh
Generated using
TypeDoc