CMISAuthenticationProvider Protocol Reference
Conforms to | NSObject |
Declared in | CMISAuthenticationProvider.h |
Tasks
-
httpHeadersToApply
Returns a set of HTTP headers (key-value pairs) that should be added to a HTTP call. This will be called by the AtomPub and the Web Services binding. You might want to check the binding in use before you set the headers.
property required method -
– updateWithHttpURLResponse:
updates the provider with NSHTTPURLResponse
required method -
– canAuthenticateAgainstProtectionSpace:
checks if provider can authenticate against provided protection space
required method -
– didCancelAuthenticationChallenge:
callback when authentication challenge was cancelled
required method -
– didReceiveAuthenticationChallenge:
callback when authentication challenge was received
required method
Properties
httpHeadersToApply
Returns a set of HTTP headers (key-value pairs) that should be added to a HTTP call. This will be called by the AtomPub and the Web Services binding. You might want to check the binding in use before you set the headers.
@property (nonatomic, strong, readonly) NSDictionary *httpHeadersToApply
Return Value
the HTTP headers or nil if no additional headers should be set
Discussion
Returns a set of HTTP headers (key-value pairs) that should be added to a HTTP call. This will be called by the AtomPub and the Web Services binding. You might want to check the binding in use before you set the headers.
Declared In
CMISAuthenticationProvider.h
Instance Methods
canAuthenticateAgainstProtectionSpace:
checks if provider can authenticate against provided protection space
- (BOOL)canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
Discussion
checks if provider can authenticate against provided protection space
Declared In
CMISAuthenticationProvider.h
didCancelAuthenticationChallenge:
callback when authentication challenge was cancelled
- (void)didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
Discussion
callback when authentication challenge was cancelled
Declared In
CMISAuthenticationProvider.h