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 data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.

    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 }
  • Source IP address of your user.

    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 }