MonobjcMonobjc Documented Class Library
CredentialsForProtectionSpace Method (protectionSpace)
NamespacesMonobjc.FoundationNSURLCredentialStorageCredentialsForProtectionSpace(NSURLProtectionSpace)

Returns a dictionary containing the credentials for the specified protection space.

Original signature is '- (NSDictionary *)credentialsForProtectionSpace:(NSURLProtectionSpace *)protectionSpace'

Available in Mac OS X v10.2 with Safari 1.0 installed and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSDictionary CredentialsForProtectionSpace(
	NSURLProtectionSpace protectionSpace
)
Public Overridable Function CredentialsForProtectionSpace ( _
	protectionSpace As NSURLProtectionSpace _
) As NSDictionary
public:
virtual NSDictionary^ CredentialsForProtectionSpace(
	NSURLProtectionSpace^ protectionSpace
)
Parameters
protectionSpace (NSURLProtectionSpace)
The protection space whose credentials you want to retrieve.
Return Value
A dictionary containing the credentials for protectionSpace. The dictionary’s keys are user name strings, and the value is the corresponding NSURLCredential.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)