Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
auth
TokenProvider
Interface TokenProvider
interface
TokenProvider
{
getTokens
(
__namedParameters
?
)
:
Promise
<
null
|
AuthTokens
>
;
}
Hierarchy (
view full
)
TokenProvider
CognitoUserPoolTokenProviderType
Index
Methods
get
Tokens
Methods
get
Tokens
get
Tokens
(
__namedParameters
?
)
:
Promise
<
null
|
AuthTokens
>
Parameters
Optional
__namedParameters
:
{
forceRefresh
?:
boolean
;
}
Optional
force
Refresh
?:
boolean
Returns
Promise
<
null
|
AuthTokens
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
get
Tokens
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter