Skip to content

Commit

Permalink
Export CognitoUser from @amplify/auth
Browse files Browse the repository at this point in the history
  • Loading branch information
buggy committed Jan 10, 2019
1 parent e5a06b0 commit 5dc28ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

import AuthClass from './Auth';
import { CookieStorage }from 'amazon-cognito-identity-js';
import { CognitoUser, CookieStorage, }from 'amazon-cognito-identity-js';
import Amplify, { ConsoleLogger as Logger, Credentials } from '@aws-amplify/core';

const logger = new Logger('Auth');
Expand All @@ -28,4 +28,4 @@ const Auth = _instance;
Amplify.register(Auth);

export default Auth;
export { AuthClass, CookieStorage };
export { AuthClass, CognitoUser, CookieStorage };

0 comments on commit 5dc28ca

Please sign in to comment.