Initialises and returns the receiver with a
user name and password.
The user identifies the credential and must
be specified but the password may be
nil.
Tests two credentials for equality... credentials are
considered to be equal if their
-user
methods return the same value, since you cannot
have more than one credential for a suser within an
NSURLProtectionSpace
.
Returns the password for the receiver. May
require prompting of the user to authorize
retrieval. May return nil if
retrieval of the password fails (eg authorization
failure) even if the credential actually has a
password. Call the
-hasPassword
method to determine whether the credential has a
password
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.