Instance Property

authenticationMethod

The authentication method used by the receiver.

Declaration

var authenticationMethod: String { get }

Discussion

The supported authentication methods are listed in NSURLProtectionSpace Authentication Method Constants.

See Also

Getting Protection Space Properties

var distinguishedNames: [Data]?

The acceptable certificate-issuing authorities for client certificate authentication.

var host: String

The receiver’s host.

var port: Int

The receiver’s port.

var `protocol`: String?

The receiver’s protocol.

var proxyType: String?

The receiver's proxy type.

var realm: String?

The receiver’s authentication realm

var receivesCredentialSecurely: Bool

A Boolean value that indicates whether the credentials for the protection space can be sent securely.

var serverTrust: SecTrust?

A representation of the server’s SSL transaction state.