UNPKG

463 BTypeScriptView Raw
1import { FetchMFAPreferenceOutput } from '../types';
2/**
3 * Fetches the preferred MFA setting and enabled MFA settings for the user.
4 *
5 * @returns FetchMFAPreferenceOutput
6 * @throws -{@link GetUserException} : error thrown when the service fails to fetch MFA preference
7 * and settings.
8 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
9 */
10export declare function fetchMFAPreference(): Promise<FetchMFAPreferenceOutput>;