|
HID APPROVE SDK
4.8
HID Approve SDK for Windows .NET
|
Configuration of server connections More...
Public Member Functions | |
| ConnectionConfiguration () | |
| Default constructor of ConnectionConfiguration instance More... | |
| delegate bool | ServerValidationCallback (HttpRequestMessage requestMessage, X509Certificate2 certificate, X509Chain chain, SslPolicyErrors sslErrors) |
| Connection callback to handle server certificate validation. More... | |
Properties | |
| ServerValidationCallback | callback [get, set] |
| Gets or sets a callback method to handle server certificate validation. More... | |
| long | Retry [get, set] |
| Maximum number of connection retries before failing More... | |
| long | Timeout [get, set] |
| Connection timeout in seconds More... | |
Configuration of server connections
The ActivID Mobile SDK connects to an ActivID AS instance for authentication and provisioning purpose. This class enables the application consuming the SDK to configure some of the connection settings:
|
inline |
Default constructor of ConnectionConfiguration instance
By default, connection timeout is 30 seconds, maximum number of retries is 0 (no retry) and no IHttpFilter is set.
| delegate bool HIDIA.Transaction.ConnectionConfiguration.ServerValidationCallback | ( | HttpRequestMessage | requestMessage, |
| X509Certificate2 | certificate, | ||
| X509Chain | chain, | ||
| SslPolicyErrors | sslErrors | ||
| ) |
Connection callback to handle server certificate validation.
For more details see system API https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.servercertificatecustomvalidationcallback?view=net-6.0
|
getset |
Gets or sets a callback method to handle server certificate validation.
|
getset |
Maximum number of connection retries before failing
|
getset |
Connection timeout in seconds