Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
auth/cognito
<Reference Types>
TokenRefresher
Type alias TokenRefresher
Token
Refresher
:
(
(
{ tokens, authConfig, username, }
)
=>
Promise
<
CognitoAuthTokens
>
)
Type declaration
(
{ tokens, authConfig, username, }
)
:
Promise
<
CognitoAuthTokens
>
Parameters
{ tokens, authConfig, username, }
:
{
authConfig
?:
AuthConfig
;
tokens
:
CognitoAuthTokens
;
username
:
string
;
}
Optional
auth
Config
?:
AuthConfig
tokens
:
CognitoAuthTokens
username
:
string
Returns
Promise
<
CognitoAuthTokens
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter