ONGCustomAuthFinishAuthenticationChallengeSender Protocol Reference

Conforms to NSObject
Declared in ONGCustomAuthFinishAuthenticationChallenge.h

Overview

Protocol describing SDK object waiting for response to authentication with Custom Authenticator.

– respondWithData:challenge: required method

Method to provide the Custom Authenticator data to the SDK.

- (void)respondWithData:(NSString *)data challenge:(ONGCustomAuthFinishAuthenticationChallenge *)challenge

Parameters

data

Custom Authenticator data

challenge

challenge for which response is made

Declared In

ONGCustomAuthFinishAuthenticationChallenge.h

– respondWithPinFallbackForChallenge: required method

Method providing pin fallback response to the SDK.

- (void)respondWithPinFallbackForChallenge:(ONGCustomAuthFinishAuthenticationChallenge *)challenge

Parameters

challenge

challenge for which response is made

Declared In

ONGCustomAuthFinishAuthenticationChallenge.h

– cancelChallenge:underlyingError: required method

Method to cancel challenge.

- (void)cancelChallenge:(ONGCustomAuthFinishAuthenticationChallenge *)challenge underlyingError:(nullable NSError *)underlyingError

Parameters

challenge

challenge for which response is made

underlyingError

error specifying the reason behind the cancellation. It will ba added as a underlying error within the cancellation error returned in the authentication failure method.

Declared In

ONGCustomAuthFinishAuthenticationChallenge.h