AWSCognitoIdentityNewPasswordRequired

@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

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

    newPasswordRequiredInput

    user profile and required attributes of the end user

    newPasswordRequiredCompletionSource

    set 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

    error

    the error if any that occured