AWSCognitoIdentityCustomChallengeDetails

@interface 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 (readwrite, strong, nonatomic, 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 (readwrite, strong, nonatomic, nullable)
        NSString *initialChallengeName;

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        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 (readwrite, copy, nonatomic, 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])