/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURLCredential.gsdoc is in gnustep-base-doc 1.25.1-2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | <?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.4//EN" "http://www.gnustep.org/gsdoc-1_0_4.dtd">
<gsdoc base="NSURLCredential" up="Base">
<head>
<title>NSURLCredential class documentation</title>
<author name="Generated by Debian"></author>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the NSURLCredential class
</heading>
<class name="NSURLCredential" super="NSObject" ovadd="10.2.0" gvadd="1.13.0">
<declared>Foundation/NSURLCredential.h</declared>
<conform>NSCopying</conform>
<desc>
Represents a user/password credential
</desc>
<ivariable type="void*" name="_NSURLCredentialInternal" validity="protected" ovadd="10.2.0" gvadd="1.13.0">
<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.
</desc>
</ivariable>
<method type="NSURLCredential*" factory="yes" ovadd="10.2.0" gvadd="1.13.0">
<sel>credentialWithUser:</sel>
<arg type="NSString*">user</arg>
<sel>password:</sel>
<arg type="NSString*">password</arg>
<sel>persistence:</sel>
<arg type="NSURLCredentialPersistence">persistence</arg>
<desc>
Returns an autoreleased instance initialised using
the
<ref type="method" id="-initWithUser:password:persistence:">-initWithUser:password:persistence:</ref> method.
</desc>
</method>
<method type="BOOL" ovadd="10.2.0" gvadd="1.13.0">
<sel>hasPassword</sel>
<desc>
Determine whether the credential has a password.
</desc>
</method>
<method type="id" init="yes" ovadd="10.2.0" gvadd="1.13.0">
<sel>initWithUser:</sel>
<arg type="NSString*">user</arg>
<sel>password:</sel>
<arg type="NSString*">password</arg>
<sel>persistence:</sel>
<arg type="NSURLCredentialPersistence">persistence</arg>
<desc>
Initialises and returns the receiver with a
<var>user</var> name and <var>password</var>. <br />
The <var>user</var> identifies the credential and must
be specified but the <var>password</var> may be
<code>nil</code>.
</desc>
</method>
<method type="BOOL" ovadd="10.2.0" gvadd="1.13.0">
<sel>isEqual:</sel>
<arg type="id">other</arg>
<desc>
Tests two credentials for equality... credentials are
considered to be equal if their
<ref type="method" id="-user">
-user
</ref>
methods return the same value, since you cannot
have more than one credential for a suser within an
<ref type="class" id="NSURLProtectionSpace">NSURLProtectionSpace</ref>
.
</desc>
</method>
<method type="NSString*" ovadd="10.2.0" gvadd="1.13.0">
<sel>password</sel>
<desc>
Returns the password for the receiver. <br /> May
require prompting of the user to authorize
retrieval. <br /> May return <code>nil</code> if
retrieval of the password fails (eg authorization
failure) even if the credential actually has a
password. Call the
<ref type="method" id="-hasPassword">
-hasPassword
</ref>
method to determine whether the credential has a
password
</desc>
</method>
<method type="NSURLCredentialPersistence" ovadd="10.2.0" gvadd="1.13.0">
<sel>persistence</sel>
<desc>
Return the presistence of this credential.
</desc>
</method>
<method type="NSString*" ovadd="10.2.0" gvadd="1.13.0">
<sel>user</sel>
<desc>
Returns the user string for the receiver
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>
|