HID APPROVE SDK  5.11
HID Approve SDK for iOS/macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
HIDConnectionConfiguration Class Reference

Configuration of server connections. More...

#import <HIDConnectionConfiguration.h>

Inheritance diagram for HIDConnectionConfiguration:

Properties

id delegate
 Connection delegate to handle session-level events (default: system default) For more details see urlsessiondelegate
 
long retry
 The number of retries after connection fails (default:0, 0 means no retry)
 
long timeout
 The server connection timeout in seconds (default: 30s, 0 means infinite)
 

Detailed Description

Configuration of server connections.

The HID Approve SDK connects to the server for authentication and provisioning purpose. This class enables the application consuming the SDK to configure some of the connection settings:

  • timeout: the server connection timeout in seconds (default: 30s, 0 means infinite)
  • retry: the number of retries after connection fails (default: 0, 0 means no retry)
  • delegate: connection delegate to handle session-level tls events (default: platform tls)