AWSCognitoIdentityPasswordAuthentication Protocol Reference

Conforms to NSObject
Declared in AWSCognitoIdentityUserPool.h

– getPasswordAuthenticationDetails:passwordAuthenticationCompletionSource: required method

Obtain username and password from end user.

- (void)getPasswordAuthenticationDetails:(AWSCognitoIdentityPasswordAuthenticationInput *)authenticationInput passwordAuthenticationCompletionSource:(AWSTaskCompletionSource<AWSCognitoIdentityPasswordAuthenticationDetails*> *)passwordAuthenticationCompletionSource

Parameters

authenticationInput

input details including last known username

passwordAuthenticationCompletionSource

set passwordAuthenticationCompletionSource.result with the username and password received from the end user.

Declared In

AWSCognitoIdentityUserPool.h

– didCompletePasswordAuthenticationStepWithError: required method

This step completed, usually either display an error to the end user or dismiss ui

- (void)didCompletePasswordAuthenticationStepWithError:(NSError *_Nullable)error

Parameters

error

the error if any that occured

Declared In

AWSCognitoIdentityUserPool.h