ArcGIS Runtime SDK for iOS: AGSAuthenticationManager.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSAuthenticationManager.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 #import <ArcGIS/AGSAuthenticationManagerDelegate.h>
21 
23 @class AGSCredentialCache;
25  //Required for Globals API doc
27 
43 @interface AGSAuthenticationManager : NSObject
44 
45 
46 #pragma mark -
47 #pragma mark initializers
48 
49 
50 
54 +(instancetype)sharedAuthenticationManager;
55 
56 #pragma mark -
57 #pragma mark properties
58 
63 @property (nullable, nonatomic, weak, readwrite) id<AGSAuthenticationManagerDelegate> delegate;
64 
68 @property (nonatomic, strong, readonly) NSMutableArray<NSString*> *trustedHosts;
69 
77 @property (nonatomic, strong, readonly) AGSCredentialCache *credentialCache;
78 
82 @property (nonatomic, strong, readonly) NSMutableArray<AGSOAuthConfiguration*> *OAuthConfigurations;
83 
84 #pragma mark -
85 #pragma mark methods
86 
87 
88 @end
A class to manage authentication.
Definition: AGSAuthenticationManager.h:43
instancetype sharedAuthenticationManager()
Represents an authentication challenge when accessing secured resources.
Definition: AGSAuthenticationChallenge.h:53
OAuth details of an app.
Definition: AGSOAuthConfiguration.h:34
A cache containing credentials to reuse.
Definition: AGSCredentialCache.h:36
id< AGSAuthenticationManagerDelegate > delegate
Definition: AGSAuthenticationManager.h:63
NSMutableArray< NSString * > * trustedHosts
Definition: AGSAuthenticationManager.h:68
AGSCredentialCache * credentialCache
Definition: AGSAuthenticationManager.h:77
NSMutableArray< AGSOAuthConfiguration * > * OAuthConfigurations
Definition: AGSAuthenticationManager.h:82