Amplify JS API Documentation
Library Documentation
NPM
GitHub
Preparing search index...
aws-amplify
auth
TokenProvider
Interface TokenProvider
interface
TokenProvider
{
getTokens
(
options
?:
{
forceRefresh
?:
boolean
}
,
)
:
Promise
<
AuthTokens
|
null
>
;
}
Hierarchy (
View Summary
)
TokenProvider
CognitoUserPoolTokenProviderType
Index
Methods
get
Tokens
Methods
get
Tokens
getTokens
(
options
?:
{
forceRefresh
?:
boolean
}
)
:
Promise
<
AuthTokens
|
null
>
Parameters
Optional
options
:
{
forceRefresh
?:
boolean
}
Returns
Promise
<
AuthTokens
|
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Tokens
Library Documentation
NPM
GitHub
Amplify JS API Documentation
Loading...