summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLAccountManager_Private.h
blob: 6afcf356aff3a6f3bc1c72eb8f7c830ae76735f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#import "MGLAccountManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface MGLAccountManager (Private)

/// Returns the shared instance of the `MGLAccountManager` class.
@property (class, nonatomic, readonly) MGLAccountManager *sharedManager;

/// The current global access token.
@property (atomic, nullable) NSString *accessToken;

/// The API base URL that is used to access Mapbox resources. The default base URL is `https://api.mapbox.com`. If `nil`, the Mapbox default base API URL is in use.
@property (atomic, readwrite, nullable) NSURL *apiBaseURL;

#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR
/// The current global SKU.
@property (class, atomic, readonly, nullable) NSString *skuToken;
#endif

@end

NS_ASSUME_NONNULL_END