@aws-amplify/auth
Version:
Auth category of aws-amplify
9 lines (8 loc) • 361 B
TypeScript
/**
* Marks device as remembered while authenticated.
*
* @throws - {@link UpdateDeviceStatusException} - Cognito service errors thrown when
* setting device status to remembered using an invalid device key.
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function rememberDevice(): Promise<void>;