25 #import <Foundation/Foundation.h>
26 #import <UIKit/UIInterface.h>
41 #pragma mark initializers
52 -(instancetype)initWithPortalURL:(nullable NSURL*)portalURL clientID:(NSString*)clientID redirectURL:(nullable NSString*)redirectURL;
61 +(instancetype)OAuthConfigurationWithPortalURL:(nullable NSURL*)portalURL clientID:(NSString*)clientID redirectURL:(nullable NSString*)redirectURL;
64 #pragma mark properties
69 @property (nullable, nonatomic, strong, readonly) NSURL *
portalURL;
74 @property (nonatomic, copy, readonly) NSString *
clientID;
79 @property (nullable, nonatomic, copy, readonly) NSString *
redirectURL;
121 @property (nonatomic, assign, readwrite) UIUserInterfaceStyle userInterfaceStyle
API_AVAILABLE(ios(12.0));
129 @property (nullable, nonatomic, strong, readwrite) NSLocale *
locale;
OAuth details of an app.
Definition: AGSOAuthConfiguration.h:39
NSLocale * locale
Definition: AGSOAuthConfiguration.h:129
NSString * clientID
Definition: AGSOAuthConfiguration.h:74
UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(ios(12.0))
BOOL prefersEphemeralWebBrowserSession
Definition: AGSOAuthConfiguration.h:136
NSInteger refreshTokenExpirationInterval
Definition: AGSOAuthConfiguration.h:87
NSURL * portalURL
Definition: AGSOAuthConfiguration.h:69
BOOL showSocialLogins
Definition: AGSOAuthConfiguration.h:105
NSInteger refreshTokenExchangeInterval
Definition: AGSOAuthConfiguration.h:99
NSString * redirectURL
Definition: AGSOAuthConfiguration.h:79
BOOL showCancelButton
Definition: AGSOAuthConfiguration.h:112