The CSChallenge class for use with a CSCredentialProvider.
More...
#import <CSChallenge.h>
Inherits NSObject.
The CSChallenge class for use with a CSCredentialProvider.
Based on the CSChallenge, the CSCredentialProvider can request that credentials be supplied.
Get Realm values for the specified auth method associated with the challenge.
If the challenge does not support specified method or the method does not have associated Realm value, empty array is returned.
- (BOOL) authTokenSupported |
|
readatomicassign |
A boolean value indicating whether the sender of the challenge can accept OAuth2 Token.
- Returns
- The return value is true if the sender can accept auth tokens, otherwise false.
- (NSUInteger) failureCount |
|
readatomicassign |
The failure count based on the number of requests.
- (BOOL) hashCredentialSupported |
|
readatomicassign |
YES if hash credentials are supported.
The Host associated with the challenge.
Location of authorization resource associated with auth token challenge.
Credential provider can navigate to this URI using browser window in order to authorize and retrieve auth token for the challenge.
- (BOOL) portalUserTokenSupported |
|
readatomicassign |
YES if Portal User Token authentication is supported.
The Realm value associated with the challenge.
If the challenge supports multiple auth methods, username/password authorization Realm is returned.
- (BOOL) usernamePasswordSupported |
|
readatomicassign |
A boolean value indicating whether the sender of the challenge can accept username/password as a response to this challenge.
- Returns
- The return value is true if the username/password are an acceptable response, otherwise false.
The documentation for this class was generated from the following file: