• Fetches the current user attributes while authenticated.

    Returns Promise<FetchUserAttributesOutput>

    Throws

    • GetUserException - Cognito service errors thrown when the service is not able to get the user.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.