Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLAuthenticationChallengeMBS class.
NSURLAuthenticationChallengeMBS.cancelAuthenticationChallenge
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLAuthenticationChallengeMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLAuthenticationChallengeMBS.continueWithoutCredentialForAuthenticationChallenge
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLAuthenticationChallengeMBS.error as NSErrorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This method returns nil if the protocol doesn't use errors to indicate an authentication failure.
Available in Mac OS X v10.2 with Safari 1.0 installed.
Available in Mac OS X v10.2.7 and later.
NSURLAuthenticationChallengeMBS.failureResponse as NSURLResponseMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If there was a previous authentication failure, and this protocol uses responses to indicate authentication failure, then this method will return the response. Otherwise it will return nil.
NSURLAuthenticationChallengeMBS.previousFailureCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSURLAuthenticationChallengeMBS.proposedCredential as NSURLCredentialMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
proposedCredential may be nil, if there is no default credential to use for this challenge (either stored or in the URL). If the credential is not nil and returns true for hasPassword, this means the NSURLConnection thinks the credential is ready to use as-is. If it returns false for hasPassword, then the credential is not ready to use as-is, but provides a default username the client could use when prompting.
NSURLAuthenticationChallengeMBS.protectionSpace as NSURLProtectionSpaceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the protection space that needs authentication.
Some examples using this method:
NSURLAuthenticationChallengeMBS.useCredential(credential as NSURLCredentialMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Networking | MBS MacBase Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacBase Plugin.