@aws-amplify/auth
Version:
Auth category of aws-amplify
11 lines (10 loc) • 449 B
TypeScript
import { ForgetDeviceInput } from '../types';
/**
* Forget a remembered device while authenticated.
*
* @param input - The ForgetDeviceInput object.
* @throws - {@link ForgetDeviceException} - Cognito service errors thrown when
* forgetting device with invalid device key
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function forgetDevice(input?: ForgetDeviceInput): Promise<void>;