AWSCognitoIdentityCustomAuthentication Protocol Reference

Conforms to NSObject
Declared in AWSCognitoIdentityUserPool.h

– getCustomChallengeDetails:customAuthCompletionSource: required method

Obtain input for a custom challenge from the end user

- (void)getCustomChallengeDetails:(AWSCognitoIdentityCustomAuthenticationInput *)authenticationInput customAuthCompletionSource:(AWSTaskCompletionSource<AWSCognitoIdentityCustomChallengeDetails*> *)customAuthCompletionSource

Parameters

authenticationInput

details the challenge including the challenge name and inputs

customAuthCompletionSource

set customAuthCompletionSource.result with the challenge answers from the end user

Declared In

AWSCognitoIdentityUserPool.h

– didCompleteCustomAuthenticationStepWithError: required method

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

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

Parameters

error

the error if any that occured

Declared In

AWSCognitoIdentityUserPool.h