ArcGIS Runtime SDK for iOS: AGSAuthenticationManagerDelegate.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSAuthenticationManagerDelegate.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <Foundation/Foundation.h>
20 
21 
22 
25 
26 #if TARGET_OS_IPHONE
27 @class UIViewController;
28 #elif TARGET_OS_OSX
29 @class NSViewController;
30 #endif
31  //Required for Globals API doc
33 
43 @optional
44 
50 -(void)authenticationManager:(AGSAuthenticationManager*)authenticationManager didReceiveAuthenticationChallenge:(AGSAuthenticationChallenge*)challenge;
51 
52 #if TARGET_OS_IPHONE
53 
59 -(void)authenticationManager:(AGSAuthenticationManager*)authenticationManager wantsToShowViewController:(UIViewController*)viewController;
60 
66 -(void)authenticationManager:(AGSAuthenticationManager*)authenticationManager wantsToDismissViewController:(UIViewController*)viewController;
67 #elif TARGET_OS_OSX
68 
74 -(void)authenticationManager:(AGSAuthenticationManager*)authenticationManager wantsToShowViewController:(NSViewController*)viewController;
75 
81 -(void)authenticationManager:(AGSAuthenticationManager*)authenticationManager wantsToDismissViewController:(NSViewController*)viewController;
82 #endif
83 
84 @end
85 
86 
87 
A class to manage authentication.
Definition: AGSAuthenticationManager.h:43
A delegate for AGSAuthenticationManager.
Definition: AGSAuthenticationManagerDelegate.h:42
Represents an authentication challenge when accessing secured resources.
Definition: AGSAuthenticationChallenge.h:53