Instance Property

realm

The receiver’s authentication realm

Declaration

@property(readonly, copy) NSString *realm;

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

authenticationMethod

The authentication method used by the receiver.

distinguishedNames

The acceptable certificate-issuing authorities for client certificate authentication.

host

The receiver’s host.

isProxy

A Boolean value that indicates whether the receiver represents a proxy server.

port

The receiver’s port.

protocol

The receiver’s protocol.

proxyType

The receiver's proxy type.

receivesCredentialSecurely

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

serverTrust

A representation of the server’s SSL transaction state.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software