AWSCognitoIdentityNewPasswordRequiredDetails
Objective-C
@interface AWSCognitoIdentityNewPasswordRequiredDetails : NSObject
Swift
class AWSCognitoIdentityNewPasswordRequiredDetails : NSObject
When responding to a new password required challenge this encapsulates the end users’ new password and required attributes
-
The end user’s new password
Declaration
Objective-C
@property (nonatomic, strong, nonnull) NSString *proposedPassword;
Swift
var proposedPassword: String { get set }
-
Any attribute the end user is setting. Values must be present for all required attributes. Any other attributes are optional.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<AWSCognitoIdentityUserAttributeType *> *userAttributes;
Swift
var userAttributes: [AWSCognitoIdentityUserAttributeType]? { 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 }
-
Initializer given a new password and map of user attributes to set *
Declaration
Objective-C
- (nonnull instancetype) initWithProposedPassword:(nonnull NSString *)proposedPassword userAttributes:(nonnull NSDictionary<NSString *, NSString *> *) userAttributes;
Swift
init(proposedPassword: String, userAttributes: [String : String] = [:])