UserPoolDeviceConfiguration constructor
const
UserPoolDeviceConfiguration({})
Creates a new UserPoolDeviceConfiguration.
challengeRequiredOnNewDevice Whether a challenge is required on a new device. Only applicable to a new device.
deviceOnlyRememberedOnUserPrompt Whether a device is only remembered on user prompt. false equates to "Always" remember, true is "User Opt In," and not using a deviceConfiguration block is "No."
Implementation
const UserPoolDeviceConfiguration({
this.challengeRequiredOnNewDevice,
this.deviceOnlyRememberedOnUserPrompt,
});