AWSCognitoIdentityNewPasswordRequiredDetails Class Reference

Inherits from NSObject
Declared in AWSCognitoIdentityUserPool.h
AWSCognitoIdentityUserPool.m

Overview

When responding to a new password required challenge this encapsulates the end users' new password and required attributes

  proposedPassword

The end user’s new password

@property (nonatomic, strong, nonnull) NSString *proposedPassword

Declared In

AWSCognitoIdentityUserPool.h

  userAttributes

Any attribute the end user is setting. Values must be present for all required attributes. Any other attributes are optional.

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

Declared In

AWSCognitoIdentityUserPool.h

– initWithProposedPassword:userAttributes:

Initializer given a new password and map of user attributes to set *

- (instancetype)initWithProposedPassword:(NSString *)proposedPassword userAttributes:(NSDictionary<NSString*,NSString*> *)userAttributes

Declared In

AWSCognitoIdentityUserPool.h