Instance Property

protectionSpace

The receiver’s protection space.

Declaration

@property(readonly, copy) NSURLProtectionSpace *protectionSpace;

Discussion

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.