Skip to content

Commit

Permalink
Renamed AppCheck to AppCheckCore
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Jul 20, 2023
1 parent 05f0637 commit ba08400
Show file tree
Hide file tree
Showing 110 changed files with 223 additions and 223 deletions.
10 changes: 5 additions & 5 deletions AppCheck.podspec → AppCheckCore.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'AppCheck'
s.name = 'AppCheckCore'
s.version = '10.11.0'
s.summary = 'App Check SDK.'
s.summary = 'App Check Core SDK.'

s.description = <<-DESC
SDK for anti-abuse compatibility.
Expand Down Expand Up @@ -32,18 +32,18 @@ Pod::Spec.new do |s|
s.cocoapods_version = '>= 1.4.0'
s.prefix_header_file = false

base_dir = "AppCheck/"
base_dir = "AppCheckCore/"

s.source_files = [
base_dir + 'Sources/**/*.[mh]',
]
s.public_header_files = base_dir + 'Sources/Public/AppCheck/*.h'
s.public_header_files = base_dir + 'Sources/Public/AppCheckCore/*.h'

s.ios.weak_framework = 'DeviceCheck'
s.osx.weak_framework = 'DeviceCheck'
s.tvos.weak_framework = 'DeviceCheck'

s.dependency 'AppCheckInterop', '~> 10.11'
s.dependency 'AppCheckCoreInterop', '~> 10.11'
s.dependency 'PromisesObjC', '~> 2.1'
s.dependency 'GoogleUtilities/Environment', '~> 7.8'

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/API/GACAppAttestAPIService.h"
#import "AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAPIService.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import "AppCheck/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h"
#import "AppCheck/Sources/Core/APIService/GACAppCheckAPIService.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h"
#import "AppCheckCore/Sources/Core/APIService/GACAppCheckAPIService.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

#import <GoogleUtilities/GULURLSessionDataResponse.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h"
#import "AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h"

#import "AppCheck/Sources/Core/APIService/GACAppCheckToken+APIResponse.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/APIService/GACAppCheckToken+APIResponse.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

static NSString *const kResponseFieldAppCheckTokenDict = @"appCheckToken";
static NSString *const kResponseFieldArtifact = @"artifact";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

#import <TargetConditionals.h>

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckAvailability.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckAvailability.h"

// Currently DCAppAttestService is available on iOS only.
#if GAC_APP_ATTEST_SUPPORTED_TARGETS

#import <DeviceCheck/DeviceCheck.h>

#import "AppCheck/Sources/AppAttestProvider/GACAppAttestService.h"
#import "AppCheckCore/Sources/AppAttestProvider/GACAppAttestService.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/DCAppAttestService+GACAppAttestService.h"
#import "AppCheckCore/Sources/AppAttestProvider/DCAppAttestService+GACAppAttestService.h"

// Currently DCAppAttestService is available on iOS only.
#if GAC_APP_ATTEST_SUPPORTED_TARGETS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"

#import "AppCheck/Sources/AppAttestProvider/Errors/GACAppAttestRejectionError.h"
#import "AppCheckCore/Sources/AppAttestProvider/Errors/GACAppAttestRejectionError.h"

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

@implementation GACAppAttestRejectionError

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,32 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Public/AppCheck/GACAppAttestProvider.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppAttestProvider.h"

#import "AppCheck/Sources/AppAttestProvider/DCAppAttestService+GACAppAttestService.h"
#import "AppCheckCore/Sources/AppAttestProvider/DCAppAttestService+GACAppAttestService.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import "AppCheck/Sources/AppAttestProvider/API/GACAppAttestAPIService.h"
#import "AppCheck/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h"
#import "AppCheck/Sources/AppAttestProvider/GACAppAttestProviderState.h"
#import "AppCheck/Sources/AppAttestProvider/GACAppAttestService.h"
#import "AppCheck/Sources/AppAttestProvider/Storage/GACAppAttestArtifactStorage.h"
#import "AppCheck/Sources/AppAttestProvider/Storage/GACAppAttestKeyIDStorage.h"
#import "AppCheck/Sources/Core/APIService/GACAppCheckAPIService.h"
#import "AppCheck/Sources/Core/Backoff/GACAppCheckBackoffWrapper.h"
#import "AppCheck/Sources/Core/GACAppCheckLogger+Internal.h"

#import "AppCheck/Sources/Core/Utils/GACAppCheckCryptoUtils.h"

#import "AppCheck/Sources/AppAttestProvider/Errors/GACAppAttestRejectionError.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckHTTPError.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAPIService.h"
#import "AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h"
#import "AppCheckCore/Sources/AppAttestProvider/GACAppAttestProviderState.h"
#import "AppCheckCore/Sources/AppAttestProvider/GACAppAttestService.h"
#import "AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestArtifactStorage.h"
#import "AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestKeyIDStorage.h"
#import "AppCheckCore/Sources/Core/APIService/GACAppCheckAPIService.h"
#import "AppCheckCore/Sources/Core/Backoff/GACAppCheckBackoffWrapper.h"
#import "AppCheckCore/Sources/Core/GACAppCheckLogger+Internal.h"

#import "AppCheckCore/Sources/Core/Utils/GACAppCheckCryptoUtils.h"

#import "AppCheckCore/Sources/AppAttestProvider/Errors/GACAppAttestRejectionError.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckHTTPError.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/GACAppAttestProviderState.h"
#import "AppCheckCore/Sources/AppAttestProvider/GACAppAttestProviderState.h"

@implementation GACAppAttestProviderState

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/Storage/GACAppAttestArtifactStorage.h"
#import "AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestArtifactStorage.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
Expand All @@ -24,8 +24,8 @@

#import <GoogleUtilities/GULKeychainStorage.h>

#import "AppCheck/Sources/AppAttestProvider/Storage/GACAppAttestStoredArtifact.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestStoredArtifact.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/Storage/GACAppAttestKeyIDStorage.h"
#import "AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestKeyIDStorage.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

/// The `NSUserDefaults` suite name for the storage location of the app attest key ID.
static NSString *const kKeyIDStorageDefaultsSuiteName = @"com.firebase.GACAppAttestKeyIDStorage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#import "AppCheck/Sources/AppAttestProvider/Storage/GACAppAttestStoredArtifact.h"
#import "AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestStoredArtifact.h"

static NSString *const kKeyIDKey = @"keyID";
static NSString *const kArtifactKey = @"artifact";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

#import "AppCheck/Sources/Public/AppCheck/GACAppAttestProvider.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppAttestProvider.h"

@class FBLPromise<Result>;
@class GULURLSessionDataResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#import "AppCheck/Sources/Core/APIService/GACAppCheckAPIService.h"
#import "AppCheckCore/Sources/Core/APIService/GACAppCheckAPIService.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import "AppCheck/Sources/Core/APIService/GACAppCheckToken+APIResponse.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheck/Sources/Core/GACAppCheckLogger+Internal.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckLogger.h"
#import "AppCheckCore/Sources/Core/APIService/GACAppCheckToken+APIResponse.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/GACAppCheckLogger+Internal.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckLogger.h"

#import <GoogleUtilities/GULURLSessionDataResponse.h>
#import <GoogleUtilities/NSURLSession+GULPromises.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckToken.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckToken.h"

@class FBLPromise<Result>;
@class GULURLSessionDataResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Core/APIService/GACAppCheckToken+APIResponse.h"
#import "AppCheckCore/Sources/Core/APIService/GACAppCheckToken+APIResponse.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

#import <GoogleUtilities/GULURLSessionDataResponse.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Core/Backoff/GACAppCheckBackoffWrapper.h"
#import "AppCheckCore/Sources/Core/Backoff/GACAppCheckBackoffWrapper.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheck/Sources/Core/Errors/GACAppCheckHTTPError.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckHTTPError.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"

#import <GoogleUtilities/GULKeychainUtils.h>

#import "AppCheck/Sources/Core/Errors/GACAppCheckHTTPError.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckHTTPError.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"

@implementation GACAppCheckErrorUtil

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

#import <Foundation/Foundation.h>

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"

NSErrorDomain const GACAppCheckErrorDomain = @"com.google.app_check_core";
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Core/Errors/GACAppCheckHTTPError.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckHTTPError.h"

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"

@implementation GACAppCheckHTTPError

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Public/AppCheck/GACAppCheck.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheck.h"

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
#else
#import "FBLPromises.h"
#endif

#import <AppCheckInterop/AppCheckInterop.h>
@import AppCheckCoreInterop;

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckProvider.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckSettings.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckToken.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckTokenDelegate.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckProvider.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckSettings.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckToken.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckTokenDelegate.h"

#import "AppCheck/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheck/Sources/Core/GACAppCheckLogger+Internal.h"
#import "AppCheck/Sources/Core/Storage/GACAppCheckStorage.h"
#import "AppCheck/Sources/Core/TokenRefresh/GACAppCheckTokenRefreshResult.h"
#import "AppCheck/Sources/Core/TokenRefresh/GACAppCheckTokenRefresher.h"
#import "AppCheckCore/Sources/Core/Errors/GACAppCheckErrorUtil.h"
#import "AppCheckCore/Sources/Core/GACAppCheckLogger+Internal.h"
#import "AppCheckCore/Sources/Core/Storage/GACAppCheckStorage.h"
#import "AppCheckCore/Sources/Core/TokenRefresh/GACAppCheckTokenRefreshResult.h"
#import "AppCheckCore/Sources/Core/TokenRefresh/GACAppCheckTokenRefresher.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#import <Foundation/Foundation.h>

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckErrors.h"
#import "AppCheck/Sources/Public/AppCheck/GACAppCheckLogger.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckLogger.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

#import "AppCheck/Sources/Public/AppCheck/GACAppCheckLogger.h"
#import "AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckLogger.h"

#import "AppCheck/Sources/Core/GACAppCheckLogger+Internal.h"
#import "AppCheckCore/Sources/Core/GACAppCheckLogger+Internal.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Loading

0 comments on commit ba08400

Please sign in to comment.