AWSCognitoIdentityNewPasswordRequired
Objective-C
@protocol AWSCognitoIdentityNewPasswordRequired <NSObject>
/**
Obtain a new password and specify profile information as part of sign in from the end user
@param newPasswordRequiredInput user profile and required attributes of the end user
@param newPasswordRequiredCompletionSource set newPasswordRequiredCompletionSource.result with the new password and any attribute updates from the end user
*/
-(void) getNewPasswordDetails: (AWSCognitoIdentityNewPasswordRequiredInput *) newPasswordRequiredInput newPasswordRequiredCompletionSource: (AWSTaskCompletionSource<AWSCognitoIdentityNewPasswordRequiredDetails *> *) newPasswordRequiredCompletionSource;
/**
This step completed, usually either display an error to the end user or dismiss ui
@param error the error if any that occured
*/
-(void) didCompleteNewPasswordStepWithError:(NSError* _Nullable) error;
@end
Swift
protocol AWSCognitoIdentityNewPasswordRequired : NSObjectProtocol
Undocumented
-
Obtain a new password and specify profile information as part of sign in from the end user
Declaration
Objective-C
- (void)getNewPasswordDetails: (nonnull AWSCognitoIdentityNewPasswordRequiredInput *) newPasswordRequiredInput newPasswordRequiredCompletionSource:(id)newPasswordRequiredCompletionSource;Swift
func getNewPasswordDetails(_ newPasswordRequiredInput: AWSCognitoIdentityNewPasswordRequiredInput, newPasswordRequiredCompletionSource: Any!)Parameters
newPasswordRequiredInputuser profile and required attributes of the end user
newPasswordRequiredCompletionSourceset newPasswordRequiredCompletionSource.result with the new password and any attribute updates from the end user
-
This step completed, usually either display an error to the end user or dismiss ui
Declaration
Objective-C
- (void)didCompleteNewPasswordStepWithError:(NSError *_Nullable)error;Swift
func didCompleteNewPasswordStepWithError(_ error: Error?)Parameters
errorthe error if any that occured
View on GitHub
Install in Dash
AWSCognitoIdentityNewPasswordRequired Protocol Reference