MonobjcMonobjc Documented Class Library
NSURLAuthenticationChallenge Constructor (space, credential, count, response, error, sender)
NamespacesMonobjc.FoundationNSURLAuthenticationChallengeNSURLAuthenticationChallenge(NSURLProtectionSpace, NSURLCredential, NSInteger, NSURLResponse, NSError, INSURLAuthenticationChallengeSender)

Returns an initialized NSURLAuthenticationChallenge object for the specified space using the credential, or nil if there is no proposed credential.

Original signature is '- (id)initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(NSInteger)count failureResponse:(NSURLResponse *)response error:(NSError *)error sender:(id < NSURLAuthenticationChallengeSender >)sender'

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

Declaration Syntax
C#Visual BasicVisual C++
public NSURLAuthenticationChallenge(
	NSURLProtectionSpace space,
	NSURLCredential credential,
	NSInteger count,
	NSURLResponse response,
	NSError error,
	INSURLAuthenticationChallengeSender sender
)
Public Sub New ( _
	space As NSURLProtectionSpace, _
	credential As NSURLCredential, _
	count As NSInteger, _
	response As NSURLResponse, _
	error As NSError, _
	sender As INSURLAuthenticationChallengeSender _
)
public:
NSURLAuthenticationChallenge(
	NSURLProtectionSpace^ space, 
	NSURLCredential^ credential, 
	NSInteger count, 
	NSURLResponse^ response, 
	NSError^ error, 
	INSURLAuthenticationChallengeSender^ sender
)
Parameters
space (NSURLProtectionSpace)
MISSING
credential (NSURLCredential)
MISSING
count (NSInteger)
MISSING
response (NSURLResponse)
MISSING
error (NSError)
MISSING
sender (INSURLAuthenticationChallengeSender)
MISSING
Return Value
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)