mirror of
https://github.com/google/app-check
synced 2026-11-11 22:15:53 +05:45
Rename instanceName and storageID to serviceName (#11599)
For consistency, renamed both instanceName and storageID to serviceName for consistency. In all cases, the serviceName is an identifier that differentiates multiple GACAppCheck instances such as when there are multiple FIRApps in use, or multiple dependent SDKs (e.g., Firebase and Google Sign-In). This unique identifier ensures their state is not shared in the Keychain or in User Defaults.
This commit is contained in:
1 parent
fe4b137399
commit
b12f472db8
14 files changed
+145
-142
No files matched your search
@@ -50,10 +50,10 @@ static NSString *const kDebugTokenUserDefaultsKey = @"FIRAAppCheckDebugToken";
|
||||
return self;
|
||||
}
|
||||
|
||||
- (instancetype)initWithStorageID:(NSString *)storageID
|
||||
resourceName:(NSString *)resourceName
|
||||
APIKey:(nullable NSString *)APIKey
|
||||
requestHooks:(nullable NSArray<GACAppCheckAPIRequestHook> *)requestHooks {
|
||||
- (instancetype)initWithServiceName:(NSString *)serviceName
|
||||
resourceName:(NSString *)resourceName
|
||||
APIKey:(nullable NSString *)APIKey
|
||||
requestHooks:(nullable NSArray<GACAppCheckAPIRequestHook> *)requestHooks {
|
||||
NSURLSession *URLSession = [NSURLSession
|
||||
sessionWithConfiguration:[NSURLSessionConfiguration ephemeralSessionConfiguration]];
|
||||
|
||||
|
||||
Reference in new issue
Block a user