AWSCognitoIdentityProviderUserContextDataType

Objective-C

@interface AWSCognitoIdentityProviderUserContextDataType

Swift

class AWSCognitoIdentityProviderUserContextDataType

Contextual data, such as the user’s device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

  • Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable encodedData;

    Swift

    var encodedData: String? { get set }
  • The source IP address of your user’s device.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable ipAddress;

    Swift

    var ipAddress: String? { get set }