AWSCognitoIdentityProviderDeviceConfigurationType
Objective-C
@interface AWSCognitoIdentityProviderDeviceConfigurationType
Swift
class AWSCognitoIdentityProviderDeviceConfigurationType
The device tracking configuration for a user pool. A user pool with device tracking deactivated returns a null value.
When you provide values for any DeviceConfiguration field, you activate device tracking.
-
When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Users that sign in with devices that have not been confirmed or remembered will still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice is true, when your user pool requires MFA.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable challengeRequiredOnNewDevice;
Swift
var challengeRequiredOnNewDevice: NSNumber? { get set }
-
When true, users can opt in to remembering their device. Your app code must use callback functions to return the user’s choice.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable deviceOnlyRememberedOnUserPrompt;
Swift
var deviceOnlyRememberedOnUserPrompt: NSNumber? { get set }