Search
Preparing search index...
The search index is not available
@dfuse/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
DefaultApiTokenManager
Class DefaultApiTokenManager
Hierarchy
DefaultApiTokenManager
Implements
ApiTokenManager
Index
Constructors
constructor
Methods
get
Token
Info
release
Constructors
constructor
new
Default
Api
Token
Manager
(
fetchTokenInfo
:
(
)
=>
Promise
<
ApiTokenInfo
>
, onTokenRefresh
:
(
apiToken
:
string
)
=>
void
, delayBuffer
:
number
, apiTokenStore
:
ApiTokenStore
, refreshScheduler
:
RefreshScheduler
)
:
DefaultApiTokenManager
Parameters
fetchTokenInfo:
(
)
=>
Promise
<
ApiTokenInfo
>
(
)
:
Promise
<
ApiTokenInfo
>
Returns
Promise
<
ApiTokenInfo
>
onTokenRefresh:
(
apiToken
:
string
)
=>
void
(
apiToken
:
string
)
:
void
Parameters
apiToken:
string
Returns
void
delayBuffer:
number
apiTokenStore:
ApiTokenStore
refreshScheduler:
RefreshScheduler
Returns
DefaultApiTokenManager
Methods
get
Token
Info
get
Token
Info
(
)
:
Promise
<
ApiTokenInfo
>
Returns
Promise
<
ApiTokenInfo
>
release
release
(
)
:
void
Returns
void
Globals
Default
Api
Token
Manager
constructor
get
Token
Info
release
Generated using
TypeDoc