Amplify JS API Documentation
    Preparing search index...

    Function forgetDevice

    • Parameters

      Returns Promise<void>

    • Forget a remembered device while authenticated.

      Parameters

      • Optionalinput: AuthForgetDeviceInput

        The ForgetDeviceInput object.

      Returns Promise<void>

      • ForgetDeviceException - Cognito service errors thrown when forgetting device with invalid device key

      AuthTokenConfigException - Thrown when the token provider config is invalid.