Instance Property


A credential store that provides credentials for authentication.


var urlCredentialStorage: URLCredentialStorage? { get set }


This property determines the credential storage object used by tasks within sessions based on this configuration.

If you don’t want to use a credential store, set this property to nil.

For default and background sessions, the default value is the shared credential store object.

For ephemeral sessions, the default value is a private credential store object that stores data in memory only, and is destroyed when you invalidate the session.

See Also

Setting Security Policies

var tlsMaximumSupportedProtocol: SSLProtocol

The maximum TLS protocol version that the client should request when making connections in this session.

var tlsMinimumSupportedProtocol: SSLProtocol

The minimum TLS protocol that should be accepted during protocol negotiation.