@aws-amplify/auth
Version:
Auth category of aws-amplify
9 lines (8 loc) • 360 B
TypeScript
import { AuthConfig } from '@aws-amplify/core';
import { CognitoAuthTokens, TokenRefresher } from '../tokenProvider/types';
export declare const refreshAuthTokens: (args_0: {
tokens: CognitoAuthTokens;
authConfig?: AuthConfig;
username: string;
}) => Promise<CognitoAuthTokens>;
export declare const refreshAuthTokensWithoutDedupe: TokenRefresher;