Up
Authors
Richard Frith-Macdonald (frm@gnu.org
)
Date: Generated at 2024-11-07 16:52:01 -0500
Copyright: (C) 2006 Software Foundation, Inc.
class_NSURLProtectionSpace
NSObject
NSObject
NSURLProtectionSpace
NSURLProtectionSpace
NSObject->NSURLProtectionSpace
p_NSCopying
NSCopying
p_NSCopying->NSURLProtectionSpace
Declared in:
Foundation/NSURLProtectionSpace.h
Conforms to:
NSCopying
Availability: MacOS-X 10.2.0, Base 1.13.0
Class to encapsulate a protection
space... where authentication is required.
Instance Variables
- (
NSString *)
authenticationMethod ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns the authentication method used for this
protection space.
- (
NSArray *)
distinguishedNames ;
Availability: MacOS-X 10.6.0, Base 1.13.0
Description forthcoming.
- (
NSString *)
host ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns the host (or proxy host) set in the
receiver.
- (id)
initWithHost: (
NSString *)host
port: (
NSInteger )port
protocol: (
NSString *)protocol
realm: (
NSString *)realm
authenticationMethod: (
NSString *)authenticationMethod;
Availability: MacOS-X 10.2.0, Base 1.13.0
Initialises the receiver with host ,
port , and protocol identifying
the protection space. For some protocols the
realm identifies a space within the
host , for others it may be
nil
.
- (id)
initWithProxyHost: (
NSString *)host
port: (
NSInteger )port
type: (
NSString *)type
realm: (
NSString *)realm
authenticationMethod: (
NSString *)authenticationMethod;
Availability: MacOS-X 10.2.0, Base 1.13.0
- (BOOL)
isProxy ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns a flag to indicate whether this protection
space is on a proxy server or not.
- (
NSInteger )
port ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns the port set for this receiver or zero if
none was set.
- (
NSString *)
protocol ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns the protocol of the receiver or
nil
if it is a proxy.
- (
NSString *)
proxyType ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns the proxy type set for the receiver or
nil
if it's not a proxy.
- (
NSString *)
realm ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns the realm (or nil
) which was
set in the receiver upon initialisation.
- (BOOL)
receivesCredentialSecurely ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Returns a flag to indicate whether the password for
this protection space will be sent over a secure
mechanism.
Instance Variables for NSURLProtectionSpace Class
@protected void* _NSURLProtectionSpaceInternal ;
Availability: MacOS-X 10.2.0, Base 1.13.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private , it is
intended for internal use within the package, and
you should not use the variable in other code.
Up