ArcGIS Runtime SDK for iOS: AGSAuthenticationManager.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSAuthenticationManager.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSAuthenticationManagerDelegate.h>
27 
29 @class AGSCredentialCache;
31  //Required for Globals API doc
33 
49 @interface AGSAuthenticationManager : NSObject
50 
51 
52 #pragma mark -
53 #pragma mark initializers
54 
55 
56 
60 +(instancetype)sharedAuthenticationManager;
61 
62 #pragma mark -
63 #pragma mark properties
64 
69 @property (nullable, nonatomic, weak, readwrite) id<AGSAuthenticationManagerDelegate> delegate;
70 
74 @property (nonatomic, strong, readonly) NSMutableArray<NSString*> *trustedHosts;
75 
83 @property (nonatomic, strong, readonly) AGSCredentialCache *credentialCache;
84 
88 @property (nonatomic, strong, readonly) NSMutableArray<AGSOAuthConfiguration*> *OAuthConfigurations;
89 
90 #pragma mark -
91 #pragma mark methods
92 
93 
94 @end
Represents an authentication challenge when accessing secured resources.
Definition: AGSAuthenticationChallenge.h:60
A class to manage authentication.
Definition: AGSAuthenticationManager.h:50
NSMutableArray< AGSOAuthConfiguration * > * OAuthConfigurations
Definition: AGSAuthenticationManager.h:88
NSMutableArray< NSString * > * trustedHosts
Definition: AGSAuthenticationManager.h:74
id< AGSAuthenticationManagerDelegate > delegate
Definition: AGSAuthenticationManager.h:69
AGSCredentialCache * credentialCache
Definition: AGSAuthenticationManager.h:83
instancetype sharedAuthenticationManager()
A cache containing credentials to reuse.
Definition: AGSCredentialCache.h:42
OAuth details of an app.
Definition: AGSOAuthConfiguration.h:39