UNPKG

@aws-amplify/auth

Version:

Auth category of aws-amplify

11 lines (10 loc) • 489 B
import { AmplifyContext } from '@aws-amplify/core'; export declare function rememberDevice(ctx: AmplifyContext): Promise<void>; /** * 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>;