UNPKG

633 BPlain TextView Raw
1// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4import { Auth } from './Auth';
5import {
6 CognitoHostedUIIdentityProvider,
7 SignUpParams,
8 GRAPHQL_AUTH_MODE,
9} from './types/Auth';
10import {
11 CognitoUser,
12 CookieStorage,
13 appendToCognitoUserAgent,
14} from 'amazon-cognito-identity-js';
15import { AuthErrorStrings } from './common/AuthErrorStrings';
16
17/**
18 * @deprecated use named import
19 */
20export default Auth;
21export {
22 Auth,
23 CognitoUser,
24 CookieStorage,
25 CognitoHostedUIIdentityProvider,
26 SignUpParams,
27 appendToCognitoUserAgent,
28 AuthErrorStrings,
29 GRAPHQL_AUTH_MODE,
30};