Instance Property

realm

The receiver’s authentication realm

Declaration

var realm: String? { get }

Discussion

This value is nil if no realm has been set. A realm is generally only specified for HTTP and HTTPS authentication.

See Also

Getting Protection Space Properties

var authenticationMethod: String

The authentication method used by the receiver.

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 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.