![]() 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 : /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>NSURLCredentialStorage class documentation</title> </head> <body> <font face="serif"> <a href="Base.html">Up</a> <br /> <h1><a name="title$NSURLCredentialStorage">NSURLCredentialStorage 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 NSURLCredentialStorage class </a></h1> <h2><a name="class$NSURLCredentialStorage">NSURLCredentialStorage</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSURLCredentialStorage.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Provides shared storage of credentials. </div> <hr width="50%" align="left" /> <a href="#_NSURLCredentialStorage_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage+sharedCredentialStorage">+sharedCredentialStorage</a></li> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage-allCredentials">-allCredentials</a></li> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage-credentialsForProtectionSpace$">-credentialsForProtectionSpace:</a></li> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage-defaultCredentialForProtectionSpace$">-defaultCredentialForProtectionSpace:</a></li> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage-removeCredential$forProtectionSpace$">-removeCredential:forProtectionSpace:</a></li> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage-setCredential$forProtectionSpace$">-setCredential:forProtectionSpace:</a></li> <li><a rel="gsdoc" href="NSURLCredentialStorage.html#method$NSURLCredentialStorage-setDefaultCredential$forProtectionSpace$">-setDefaultCredential:forProtectionSpace:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSURLCredentialStorage+sharedCredentialStorage">sharedCredentialStorage </a></h3> + (<a rel="gsdoc" href="#class$NSURLCredentialStorage">NSURLCredentialStorage</a>*) <b>sharedCredentialStorage</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Return the shared credential storage object. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLCredentialStorage-allCredentials">allCredentials </a></h3> - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>allCredentials</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns a dictionary of dictionaries... with <a rel="gsdoc" href="NSURLProtectionSpace.html#class$NSURLProtectionSpace">NSURLProtectionSpace</a> objects as the keys in the outer dictionary, and values which are dictionaries of the credentails within each protection space. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLCredentialStorage-credentialsForProtectionSpace$">credentialsForProtectionSpace: </a></h3> - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>credentialsForProtectionSpace:</b> (<a rel="gsdoc" href="NSURLProtectionSpace.html#class$NSURLProtectionSpace">NSURLProtectionSpace</a>*)space;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns a dictionary mapping usernames to credentials for the specified protection <var>space</var>. <br /> Each username is a unique identifier for a credential within a protection <var>space</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLCredentialStorage-defaultCredentialForProtectionSpace$">defaultCredentialForProtectionSpace: </a></h3> - (<a rel="gsdoc" href="NSURLCredential.html#class$NSURLCredential">NSURLCredential</a>*) <b>defaultCredentialForProtectionSpace:</b> (<a rel="gsdoc" href="NSURLProtectionSpace.html#class$NSURLProtectionSpace">NSURLProtectionSpace</a>*)space;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the default credential for the specified protection <var>space</var>, or <code>nil</code> if none is set. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLCredentialStorage-removeCredential$forProtectionSpace$">removeCredential: forProtectionSpace: </a></h3> - (void) <b>removeCredential:</b> (<a rel="gsdoc" href="NSURLCredential.html#class$NSURLCredential">NSURLCredential</a>*)credential<b> forProtectionSpace:</b> (<a rel="gsdoc" href="NSURLProtectionSpace.html#class$NSURLProtectionSpace">NSURLProtectionSpace</a>*)space;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Removes the <var>credential</var> from both in-memory and persistent storage for the specified protection <var>space</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLCredentialStorage-setCredential$forProtectionSpace$">setCredential: forProtectionSpace: </a></h3> - (void) <b>setCredential:</b> (<a rel="gsdoc" href="NSURLCredential.html#class$NSURLCredential">NSURLCredential</a>*)credential<b> forProtectionSpace:</b> (<a rel="gsdoc" href="NSURLProtectionSpace.html#class$NSURLProtectionSpace">NSURLProtectionSpace</a>*)space;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets <var>credential</var> in the storage for the protection <var>space</var> specified. <br /> This replaces any old value with the same username. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLCredentialStorage-setDefaultCredential$forProtectionSpace$">setDefaultCredential: forProtectionSpace: </a></h3> - (void) <b>setDefaultCredential:</b> (<a rel="gsdoc" href="NSURLCredential.html#class$NSURLCredential">NSURLCredential</a>*)credential<b> forProtectionSpace:</b> (<a rel="gsdoc" href="NSURLProtectionSpace.html#class$NSURLProtectionSpace">NSURLProtectionSpace</a>*)space;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the default <var>credential</var> for the protection <var>space</var>. Also calls <a rel="gsdoc" href="#method$NSURLCredentialStorage-setCredential$forProtectionSpace$">-setCredential:forProtectionSpace:</a> if the <var>credential</var> has not already been set in <var>space</var>. </div> <hr width="25%" align="left" /> </div> <a name="_NSURLCredentialStorage_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSURLCredentialStorage Class</h2> <h3><a name="ivariable$NSURLCredentialStorage*_NSURLCredentialStorageInternal">_NSURLCredentialStorageInternal</a></h3> @protected void* <b>_NSURLCredentialStorageInternal</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>