@aws-amplify/auth
Version:
Auth category of aws-amplify
11 lines (10 loc) • 401 B
TypeScript
import { FetchDevicesOutput } from '../types';
/**
* Fetches devices that have been remembered using {@link rememberDevice}
* for the currently authenticated user.
*
* @returns FetchDevicesOutput
* @throws {@link ListDevicesException}
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function fetchDevices(): Promise<FetchDevicesOutput>;