UNPKG

449 BTypeScriptView Raw
1import { ForgetDeviceInput } from '../types';
2/**
3 * Forget a remembered device while authenticated.
4 *
5 * @param input - The ForgetDeviceInput object.
6 * @throws - {@link ForgetDeviceException} - Cognito service errors thrown when
7 * forgetting device with invalid device key
8 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
9 */
10export declare function forgetDevice(input?: ForgetDeviceInput): Promise<void>;