@aws-amplify/auth
Version:
Auth category of aws-amplify
14 lines (13 loc) • 681 B
TypeScript
import { DefaultIdentityIdStore } from './IdentityIdStore';
import { CognitoAWSCredentialsAndIdentityIdProvider } from './credentialsProvider';
/**
* Cognito specific implmentation of the CredentialsProvider interface
* that manages setting and getting of AWS Credentials.
*
* @throws configuration expections: `InvalidIdentityPoolIdException`
* - Auth errors that may arise from misconfiguration.
* @throws service expections: {@link GetCredentialsForIdentityException}, {@link GetIdException}
*
*/
export declare const cognitoCredentialsProvider: CognitoAWSCredentialsAndIdentityIdProvider;
export { CognitoAWSCredentialsAndIdentityIdProvider, DefaultIdentityIdStore };