UNPKG

413 BTypeScriptView Raw
1import { FetchUserAttributesOutput } from '../types';
2/**
3 * Fetches the current user attributes while authenticated.
4 *
5 * @throws - {@link GetUserException} - Cognito service errors thrown when the service is not able to get the user.
6 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
7 */
8export declare const fetchUserAttributes: () => Promise<FetchUserAttributesOutput>;