AWSCognitoIdentityCustomChallengeDetails

Objective-C

@interface AWSCognitoIdentityCustomChallengeDetails : NSObject

Swift

class AWSCognitoIdentityCustomChallengeDetails : NSObject

When responding to a custom sign in, this encapsulates the end users challenge responses

  • Optional developer provided validation data to add to the initate auth call

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<AWSCognitoIdentityUserAttributeType *> *validationData;

    Swift

    var validationData: [AWSCognitoIdentityUserAttributeType]? { get set }
  • If you know your initial challenge, set this property to the challenge name

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *initialChallengeName;

    Swift

    var initialChallengeName: String? { get set }
  • The end user challenge responses for this challenge

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nonnull challengeResponses;

    Swift

    var challengeResponses: [String : String] { get set }
  • A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *clientMetaData;

    Swift

    var clientMetaData: [String : String]? { get set }
  • Undocumented

    Declaration

    Objective-C

    -(instancetype) initWithChallengeResponses: (NSDictionary<NSString*,NSString*> *) challengeResponses;

    Swift

    init(challengeResponses: [String : String])