UNPKG

@aws-amplify/auth

Version:
14 lines (13 loc) 681 B
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 };