Instance Property


The receiver’s protection space.


@NSCopying var protectionSpace: URLProtectionSpace { get }


A protection space object provides additional information about the authentication request, such as the host, port, authentication realm, and so on. The protection space also tells you whether the authentication challenge is asking you to provide the user’s credentials or to verify the TLS credentials provided by the server.