ONGCustomAuthFinishRegistrationChallengeSender Protocol Reference

Conforms to NSObject
Declared in ONGCustomAuthFinishRegistrationChallenge.h

Overview

Protocol describing SDK object waiting for response to registration of custom authenticator.

– respondWithData:challenge: required method

Method to provide data requried to complete registration.

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

Parameters

challenge

challenge for which the response is made

Declared In

ONGCustomAuthFinishRegistrationChallenge.h

– cancelChallenge:underlyingError: required method

Method to cancel registration.

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

Parameters

challenge

challenge for which the 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 registration failure method.

Declared In

ONGCustomAuthFinishRegistrationChallenge.h