CMISAuthenticationProvider Protocol Reference
Conforms to | NSObject |
Declared in | CMISAuthenticationProvider.h |
Tasks
-
httpHeadersToApply
property required method -
– updateWithHttpURLResponse:
required method -
– canAuthenticateAgainstProtectionSpace:
required method -
– didCancelAuthenticationChallenge:
required method -
– didReceiveAuthenticationChallenge:
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