27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSRemoteResource.h>
69 @property (nullable, nonatomic, weak, readonly) id<AGSRemoteResource>
remoteResource;
80 @property (nullable, nonatomic, strong, readonly) NSURLProtectionSpace *
protectionSpace;
86 @property (nonatomic, strong, readonly) NSError *
error;
92 @property (nonatomic, copy, readonly) NSURLRequest *
request;
103 @property (nullable, nonatomic, strong, readonly) NSURL *
portalURL;
115 -(void)continueWithCredential:(nullable
AGSCredential*)credential;
141 - (BOOL)isRemoteResourceFederatedWithPortalURL:(NSURL*)portalURL;
AGSAuthenticationChallengeType
Definition: AGSAuthenticationChallenge.h:36
@ AGSAuthenticationChallengeTypeUnknown
Definition: AGSAuthenticationChallenge.h:41
@ AGSAuthenticationChallengeTypeOAuth
Definition: AGSAuthenticationChallenge.h:38
@ AGSAuthenticationChallengeTypeUntrustedHost
Definition: AGSAuthenticationChallenge.h:40
@ AGSAuthenticationChallengeTypeUsernamePassword
Definition: AGSAuthenticationChallenge.h:37
@ AGSAuthenticationChallengeTypeClientCertificate
Definition: AGSAuthenticationChallenge.h:39
Represents an authentication challenge when accessing secured resources.
Definition: AGSAuthenticationChallenge.h:60
NSString * authenticatingHost
Definition: AGSAuthenticationChallenge.h:98
NSURL * portalURL
Definition: AGSAuthenticationChallenge.h:103
NSUInteger failureCount
Definition: AGSAuthenticationChallenge.h:64
NSURLRequest * request
Definition: AGSAuthenticationChallenge.h:92
id< AGSRemoteResource > remoteResource
Definition: AGSAuthenticationChallenge.h:69
void continueWithDefaultHandling()
NSError * error
Definition: AGSAuthenticationChallenge.h:86
NSURLProtectionSpace * protectionSpace
Definition: AGSAuthenticationChallenge.h:80
void trustHostAndContinue()
AGSCredential * proposedCredential
Definition: AGSAuthenticationChallenge.h:75
AGSAuthenticationChallengeType type
Definition: AGSAuthenticationChallenge.h:108
Represents an credential to access a secured resource.
Definition: AGSCredential.h:52