Kofax Mobile SDK API Reference
|
This protocol defines methods that your delegate object may implement for custom certificate pinning logic. More...
#import <kfxKUTCertificateValidatorDelegate.h>
Instance Methods | |
(void) | - certificateValidatorForURLSession:didReceiveChallenge:completionHandler: |
Requests credentials from the delegate in response to an authentication request from the remote server. More... | |
This protocol defines methods that your delegate object may implement for custom certificate pinning logic.
The methods of this protocol notify your delegate with messages related to certificate validation.
|
optional |
Requests credentials from the delegate in response to an authentication request from the remote server.
This method is a wrapper around following method of NSURLSessionTaskDelegate
Refer to an Apple Foundation Framework documentation for more details.
Responding on this client may customize Certificate Pinning logic.
session | The session containing the task whose request requires authentication. |
challenge | An object that contains the request for authentication. |
completionHandler | A handler that your delegate method must call. Its parameters are:
|
Use NSURLSessionAuthChallengePerformDefaultHandling as disposition for default handling for the challenge as though this delegate method were not implemented. The provided credential parameter is ignored.
Implementation of this method is optional, but expected for security reason.