ONGMobileAuthRequestDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ONGMobileAuthRequestDelegate.h |
Overview
Protocol describing interface for objects implementing methods required to complete mobile authentication request.
– userClient:didReceiveConfirmationChallenge:forRequest:
required method
Method called when mobile authentication request requires only confirmation to be completed.
- (void)userClient:(ONGUserClient *)userClient didReceiveConfirmationChallenge:(void ( ^ ) ( BOOL confirmRequest ))confirmation forRequest:(ONGMobileAuthRequest *)request
Parameters
userClient |
user client that received mobile authentication request |
---|---|
confirmation |
confirmation block that needs to be invoked with confirmation value |
request |
mobile authentication request received by the SDK |
See Also
Declared In
ONGMobileAuthRequestDelegate.h
– userClient:didReceivePinChallenge:forRequest:
Method called when mobile authentication request requires PIN code for confirmation.
- (void)userClient:(ONGUserClient *)userClient didReceivePinChallenge:(ONGPinChallenge *)challenge forRequest:(ONGMobileAuthRequest *)request
Parameters
userClient |
user client performing authentication |
---|---|
challenge |
pin challenge used to complete authentication |
request |
mobile authentication request received by the SDK |
See Also
Declared In
ONGMobileAuthRequestDelegate.h
– userClient:didReceiveFingerprintChallenge:forRequest:
Method called when authentication action requires TouchID to continue. Its called before asking user for fingerprint. If its not implemented SDK will fallback to PIN code confirmation.
- (void)userClient:(ONGUserClient *)userClient didReceiveFingerprintChallenge:(ONGFingerprintChallenge *)challenge forRequest:(ONGMobileAuthRequest *)request
Parameters
userClient |
user client performing authentication |
---|---|
challenge |
fingerprint challenge used to complete authentication |
request |
mobile authentication request received by the SDK |
See Also
Declared In
ONGMobileAuthRequestDelegate.h
– userClient:didReceiveBiometricChallenge:forRequest:
Method called when authentication action requires TouchID or FaceID to continue. Its called before asking user for fingerprint or face. If its not implemented SDK will fallback to PIN code confirmation.
- (void)userClient:(ONGUserClient *)userClient didReceiveBiometricChallenge:(ONGBiometricChallenge *)challenge forRequest:(ONGMobileAuthRequest *)request
Parameters
userClient |
user client performing authentication |
---|---|
challenge |
biometric challenge used to complete authentication |
request |
mobile authentication request received by the SDK |
See Also
Declared In
ONGMobileAuthRequestDelegate.h
– userClient:didReceiveCustomAuthFinishAuthenticationChallenge:forRequest:
Method called when authentication action requires authentication with Custom Authenticator to continue.
- (void)userClient:(ONGUserClient *)userClient didReceiveCustomAuthFinishAuthenticationChallenge:(ONGCustomAuthFinishAuthenticationChallenge *)challenge forRequest:(ONGMobileAuthRequest *)request
Parameters
userClient |
user client performing authentication |
---|---|
challenge |
Custom Authenticator challenge used to complete authentication |
Declared In
ONGMobileAuthRequestDelegate.h
– userClient:didFailToHandleMobileAuthRequest:error:
Method called when mobile authentication request handling did fail.
- (void)userClient:(ONGUserClient *)userClient didFailToHandleMobileAuthRequest:(ONGMobileAuthRequest *)request error:(NSError *)error
Parameters
userClient |
user client performing authentication |
---|---|
request |
mobile authentication request received by the SDK |
error |
error describing failure reason |
Discussion
The returned error will be either within the ONGGenericErrorDomain, ONGMobileAuthRequestErrorDomain or ONGAuthenticationErrorDomain.
See Also
Declared In
ONGMobileAuthRequestDelegate.h
– userClient:didHandleMobileAuthRequest:info:
Method called when mobile authentication request handled successfully.
- (void)userClient:(ONGUserClient *)userClient didHandleMobileAuthRequest:(ONGMobileAuthRequest *)request info:(ONGCustomInfo *_Nullable)customAuthenticatorInfo
Parameters
userClient |
user client performing authentication |
---|---|
request |
mobile authentication request received by the SDK |
See Also
Declared In
ONGMobileAuthRequestDelegate.h