21 #import <Foundation/Foundation.h> 63 @property (nullable, nonatomic, weak, readonly) id<AGSRemoteResource>
remoteResource;
74 @property (nullable, nonatomic, strong, readonly) NSURLProtectionSpace *
protectionSpace;
80 @property (nonatomic, strong, readonly) NSError *
error;
86 @property (nonatomic, copy, readonly) NSURLRequest *
request;
97 @property (nullable, nonatomic, strong, readonly) NSURL *
portalURL;
109 -(void)continueWithCredential:(nullable
AGSCredential*)credential;
135 - (BOOL)isRemoteResourceFederatedWithPortalURL:(NSURL*)portalURL;
Definition: AGSAuthenticationChallenge.h:30
NSURLRequest * request
Definition: AGSAuthenticationChallenge.h:86
AGSAuthenticationChallengeType
Definition: AGSAuthenticationChallenge.h:29
Definition: AGSAuthenticationChallenge.h:31
AGSAuthenticationChallengeType type
Definition: AGSAuthenticationChallenge.h:102
void trustHostAndContinue()
NSURL * portalURL
Definition: AGSAuthenticationChallenge.h:97
Represents an authentication challenge when accessing secured resources.
Definition: AGSAuthenticationChallenge.h:53
Represents an credential to access a secured resource.
Definition: AGSCredential.h:46
void continueWithDefaultHandling()
Definition: AGSAuthenticationChallenge.h:32
Definition: AGSAuthenticationChallenge.h:34
NSString * authenticatingHost
Definition: AGSAuthenticationChallenge.h:92
AGSCredential * proposedCredential
Definition: AGSAuthenticationChallenge.h:69
NSUInteger failureCount
Definition: AGSAuthenticationChallenge.h:58
Definition: AGSAuthenticationChallenge.h:33
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:34
NSURLProtectionSpace * protectionSpace
Definition: AGSAuthenticationChallenge.h:74
id< AGSRemoteResource > remoteResource
Definition: AGSAuthenticationChallenge.h:63
NSError * error
Definition: AGSAuthenticationChallenge.h:80