![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/doc/gnustep-base-doc/Base/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSURLProtectionSpace class documentation</title> </head> <body> <font face="serif"> <a href="Base.html">Up</a> <br /> <h1><a name="title$NSURLProtectionSpace">NSURLProtectionSpace class documentation</a></h1> <h3>Authors</h3> <dl> <dt>Generated by Debian</dt> <dd> </dd> </dl> <div> </div> <h1><a name="001000000000"> Software documentation for the NSURLProtectionSpace class </a></h1> <h2><a name="class$NSURLProtectionSpace">NSURLProtectionSpace</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSURLProtectionSpace.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCopying)">NSCopying</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> <strong>Class</strong> to encapsulate a protection space... where authentication is required. </div> <hr width="50%" align="left" /> <a href="#_NSURLProtectionSpace_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-authenticationMethod">-authenticationMethod</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-distinguishedNames">-distinguishedNames</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-host">-host</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-initWithHost$port$protocol$realm$authenticationMethod$">-initWithHost:port:protocol:realm:authenticationMethod:</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-initWithProxyHost$port$type$realm$authenticationMethod$">-initWithProxyHost:port:type:realm:authenticationMethod:</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-isProxy">-isProxy</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-port">-port</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-protocol">-protocol</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-proxyType">-proxyType</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-realm">-realm</a></li> <li><a rel="gsdoc" href="NSURLProtectionSpace.html#method$NSURLProtectionSpace-receivesCredentialSecurely">-receivesCredentialSecurely</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSURLProtectionSpace-authenticationMethod">authenticationMethod </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>authenticationMethod</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the authentication method used for this protection space. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-distinguishedNames">distinguishedNames </a></h3> - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>distinguishedNames</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0, Base 1.13.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-host">host </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>host</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the host (or proxy host) set in the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-initWithHost$port$protocol$realm$authenticationMethod$">initWithHost: port: protocol: realm: authenticationMethod: </a></h3> - (id) <b>initWithHost:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)host<b> port:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)port<b> protocol:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)protocol<b> realm:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)realm<b> authenticationMethod:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)authenticationMethod;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Initialises the receiver with <var>host</var>, <var>port</var>, and <var>protocol</var> identifying the protection space. For some protocols the <var>realm</var> identifies a space within the <var>host</var>, for others it may be <code>nil</code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-initWithProxyHost$port$type$realm$authenticationMethod$">initWithProxyHost: port: type: realm: authenticationMethod: </a></h3> - (id) <b>initWithProxyHost:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)host<b> port:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)port<b> type:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)type<b> realm:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)realm<b> authenticationMethod:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)authenticationMethod;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> This is like <a rel="gsdoc" href="#method$NSURLProtectionSpace-initWithHost$port$protocol$realm$authenticationMethod$">-initWithHost:port:protocol:realm:authenticationMethod:</a> except that it uses a proxy <var>host</var> and proxy <var>type</var> rather than an actual <var>host</var> and a protocol. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-isProxy">isProxy </a></h3> - (BOOL) <b>isProxy</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns a flag to indicate whether this protection space is on a proxy server or not. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-port">port </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>port</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the port set for this receiver or zero if none was set. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-protocol">protocol </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>protocol</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the protocol of the receiver or <code>nil</code> if it is a proxy. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-proxyType">proxyType </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>proxyType</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the proxy type set for the receiver or <code>nil</code> if it's not a proxy. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-realm">realm </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>realm</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the realm (or <code>nil</code>) which was set in the receiver upon initialisation. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLProtectionSpace-receivesCredentialSecurely">receivesCredentialSecurely </a></h3> - (BOOL) <b>receivesCredentialSecurely</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns a flag to indicate whether the password for this protection space will be sent over a secure mechanism. </div> <hr width="25%" align="left" /> </div> <a name="_NSURLProtectionSpace_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSURLProtectionSpace Class</h2> <h3><a name="ivariable$NSURLProtectionSpace*_NSURLProtectionSpaceInternal">_NSURLProtectionSpaceInternal</a></h3> @protected void* <b>_NSURLProtectionSpaceInternal</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <br /> <a href="Base.html">Up</a> </font> </body> </html>