AWSCognitoIdentityProviderContextDataType

Objective-C

@interface AWSCognitoIdentityProviderContextDataType

Swift

class AWSCognitoIdentityProviderContextDataType

Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

Required parameters: [IpAddress, ServerName, ServerPath, HttpHeaders]

  • 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 }
  • HttpHeaders received on your server in same order.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderHttpHeader *> *_Nullable httpHeaders;

    Swift

    var httpHeaders: [AWSCognitoIdentityProviderHttpHeader]? { 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 }
  • Your server endpoint where this API is invoked.

    Declaration

    Objective-C

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

    Swift

    var serverName: String? { get set }
  • Your server path where this API is invoked.

    Declaration

    Objective-C

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

    Swift

    var serverPath: String? { get set }