UNPKG

@aws-amplify/auth

Version:

Auth category of aws-amplify

11 lines (10 loc) • 440 B
import { AuthConfig } from '@aws-amplify/core'; import { CognitoAuthTokens, TokenRefresher } from '../tokenProvider/types'; import { ClientMetadata } from '../types'; export declare const refreshAuthTokens: (args_0: { tokens: CognitoAuthTokens; authConfig?: AuthConfig; username: string; clientMetadata?: ClientMetadata; }) => Promise<CognitoAuthTokens>; export declare const refreshAuthTokensWithoutDedupe: TokenRefresher;