Skip to content

Commit

Permalink
Remove unneeded imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fvazquez-travelperk committed Jul 3, 2023
1 parent b6c1a0d commit 5d48d08
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 32 deletions.
64 changes: 40 additions & 24 deletions Auth0.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@
objects = {

/* Begin PBXBuildFile section */
31AE46432A4F233B007D669A /* JWTDecode.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46402A4F233B007D669A /* JWTDecode.xcframework */; };
31AE46442A4F233B007D669A /* JWTDecode.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46402A4F233B007D669A /* JWTDecode.xcframework */; };
31AE46452A4F233B007D669A /* JWTDecode.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46402A4F233B007D669A /* JWTDecode.xcframework */; };
31AE46472A4F233B007D669A /* SimpleKeychain.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */; };
31AE46482A4F233B007D669A /* SimpleKeychain.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */; };
31AE46492A4F233B007D669A /* SimpleKeychain.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */; };
31AE464A2A4F2341007D669A /* JWTDecode.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46402A4F233B007D669A /* JWTDecode.xcframework */; };
31AE464B2A4F2342007D669A /* JWTDecode.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46402A4F233B007D669A /* JWTDecode.xcframework */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
31AE464C2A4F2343007D669A /* SimpleKeychain.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */; };
31AE464D2A4F2343007D669A /* SimpleKeychain.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
31ADB60F2A52E436009F90A8 /* SimpleKeychain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ADB60B2A52E436009F90A8 /* SimpleKeychain.swift */; };
31ADB6102A52E436009F90A8 /* SimpleKeychainError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ADB60C2A52E436009F90A8 /* SimpleKeychainError.swift */; };
31ADB6112A52E436009F90A8 /* Accessibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ADB60D2A52E436009F90A8 /* Accessibility.swift */; };
31ADB6182A52E635009F90A8 /* JWTDecode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ADB6142A52E635009F90A8 /* JWTDecode.swift */; };
31ADB6192A52E635009F90A8 /* JWTDecodeError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ADB6152A52E635009F90A8 /* JWTDecodeError.swift */; };
31ADB61A2A52E635009F90A8 /* JWT.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ADB6162A52E635009F90A8 /* JWT.swift */; };
5B0893E620F8A52100FBF962 /* CredentialsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BEDE1891EC21B040007300D /* CredentialsManager.swift */; };
5B0893E720F8A52400FBF962 /* CredentialsManagerError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B5E93F81EC45C22002A37F9 /* CredentialsManagerError.swift */; };
5B16D88E1F7141A0009476A5 /* ASProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B16D88C1F7141A0009476A5 /* ASProvider.swift */; };
Expand Down Expand Up @@ -260,8 +256,6 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
31AE464B2A4F2342007D669A /* JWTDecode.xcframework in Embed Frameworks */,
31AE464D2A4F2343007D669A /* SimpleKeychain.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -332,8 +326,12 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
31AE46402A4F233B007D669A /* JWTDecode.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = JWTDecode.xcframework; sourceTree = "<group>"; };
31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = SimpleKeychain.xcframework; sourceTree = "<group>"; };
31ADB60B2A52E436009F90A8 /* SimpleKeychain.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleKeychain.swift; sourceTree = "<group>"; };
31ADB60C2A52E436009F90A8 /* SimpleKeychainError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleKeychainError.swift; sourceTree = "<group>"; };
31ADB60D2A52E436009F90A8 /* Accessibility.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Accessibility.swift; sourceTree = "<group>"; };
31ADB6142A52E635009F90A8 /* JWTDecode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JWTDecode.swift; sourceTree = "<group>"; };
31ADB6152A52E635009F90A8 /* JWTDecodeError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JWTDecodeError.swift; sourceTree = "<group>"; };
31ADB6162A52E635009F90A8 /* JWT.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JWT.swift; sourceTree = "<group>"; };
5B16D88C1F7141A0009476A5 /* ASProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ASProvider.swift; sourceTree = "<group>"; };
5B16D8921F714324009476A5 /* WebAuthUserAgent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = WebAuthUserAgent.swift; path = Auth0/WebAuthUserAgent.swift; sourceTree = SOURCE_ROOT; };
5B1748731EF2D3A40060E653 /* Helpers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helpers.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -443,17 +441,13 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
31AE464A2A4F2341007D669A /* JWTDecode.xcframework in Frameworks */,
31AE464C2A4F2343007D669A /* SimpleKeychain.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5F06DD811CC448C90011842B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
31AE46432A4F233B007D669A /* JWTDecode.xcframework in Frameworks */,
31AE46472A4F233B007D669A /* SimpleKeychain.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -477,17 +471,13 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
31AE46452A4F233B007D669A /* JWTDecode.xcframework in Frameworks */,
31AE46492A4F233B007D669A /* SimpleKeychain.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5F23E6F21D4B87F000C3F2D9 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
31AE46442A4F233B007D669A /* JWTDecode.xcframework in Frameworks */,
31AE46482A4F233B007D669A /* SimpleKeychain.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -510,6 +500,26 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
31ADB60A2A52E436009F90A8 /* SimpleKeychain */ = {
isa = PBXGroup;
children = (
31ADB60B2A52E436009F90A8 /* SimpleKeychain.swift */,
31ADB60C2A52E436009F90A8 /* SimpleKeychainError.swift */,
31ADB60D2A52E436009F90A8 /* Accessibility.swift */,
);
path = SimpleKeychain;
sourceTree = "<group>";
};
31ADB6132A52E635009F90A8 /* JWTDecode */ = {
isa = PBXGroup;
children = (
31ADB6142A52E635009F90A8 /* JWTDecode.swift */,
31ADB6152A52E635009F90A8 /* JWTDecodeError.swift */,
31ADB6162A52E635009F90A8 /* JWT.swift */,
);
path = JWTDecode;
sourceTree = "<group>";
};
5B16D8901F7141E5009476A5 /* Transactions */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -592,6 +602,8 @@
5F049B6B1CB42C29006F6C05 /* Auth0 */ = {
isa = PBXGroup;
children = (
31ADB60A2A52E436009F90A8 /* SimpleKeychain */,
31ADB6132A52E635009F90A8 /* JWTDecode */,
5FDE87751D8A425300EA27DC /* Authentication */,
5FDE87451D8A421900EA27DC /* Telemetry */,
5BEDE1581EC1FFE40007300D /* Utils */,
Expand All @@ -611,8 +623,6 @@
5F06DDC21CC5712F0011842B /* Frameworks */ = {
isa = PBXGroup;
children = (
31AE46402A4F233B007D669A /* JWTDecode.xcframework */,
31AE46412A4F233B007D669A /* SimpleKeychain.xcframework */,
5CD9FC6D26FE30A6009C2B27 /* OHHTTPStubs.xcframework */,
);
name = Frameworks;
Expand Down Expand Up @@ -1269,11 +1279,13 @@
buildActionMask = 2147483647;
files = (
5CB41D4423D0BA2C00074024 /* IDTokenSignatureValidator.swift in Sources */,
31ADB61A2A52E635009F90A8 /* JWT.swift in Sources */,
5CB41D4C23D0BA2C00074024 /* Optional+DebugDescription.swift in Sources */,
5C4F551A23C8FB8E00C89615 /* String+URLSafe.swift in Sources */,
5C0AF09D2833420200162044 /* WebAuthentication.swift in Sources */,
5CB41D4823D0BA2C00074024 /* IDTokenValidator.swift in Sources */,
5C354C04276CE1A500ADBC86 /* PasswordlessType.swift in Sources */,
31ADB6192A52E635009F90A8 /* JWTDecodeError.swift in Sources */,
5FCAB1711D09005A00331C84 /* NSURLComponents+OAuth2.swift in Sources */,
5FDE876D1D8A424700EA27DC /* Handlers.swift in Sources */,
5FE2F8BB1CD0EAAD003628F4 /* Response.swift in Sources */,
Expand All @@ -1297,18 +1309,21 @@
5FD255BA1D14F70B00387ECB /* WebAuthError.swift in Sources */,
5BEDE18A1EC21B040007300D /* CredentialsManager.swift in Sources */,
5B2860CE1EEAC30500C75D54 /* UserInfo.swift in Sources */,
31ADB60F2A52E436009F90A8 /* SimpleKeychain.swift in Sources */,
5C4F552323C8FBA100C89615 /* JWKS.swift in Sources */,
5C6513A72791CDDE004EBC22 /* Version.swift in Sources */,
5C4F550923C8FADF00C89615 /* JWTAlgorithm.swift in Sources */,
5FD255B71D14F00900387ECB /* Auth0Error.swift in Sources */,
5F06DDC91CC66B710011842B /* Auth0.swift in Sources */,
31ADB6182A52E635009F90A8 /* JWTDecode.swift in Sources */,
5B1748741EF2D3A40060E653 /* Helpers.swift in Sources */,
5FDE87691D8A424700EA27DC /* Credentials.swift in Sources */,
5FE2F8B21CCEAED8003628F4 /* Requestable.swift in Sources */,
5C4F551E23C8FB8E00C89615 /* Array+Encode.swift in Sources */,
5B9262C01ECF0CA800F4F6D3 /* BioAuthentication.swift in Sources */,
5CB41D7123D0BED200074024 /* ClaimValidators.swift in Sources */,
5FADB60C1CED7E0800D4BB50 /* UserPatchAttributes.swift in Sources */,
31ADB6102A52E436009F90A8 /* SimpleKeychainError.swift in Sources */,
5FCAB1791D09124D00331C84 /* NSURL+Auth0.swift in Sources */,
5F74CB401CEFD5E600226823 /* JSONObjectPayload.swift in Sources */,
5FD255B41D14DD2600387ECB /* ManagementError.swift in Sources */,
Expand All @@ -1322,6 +1337,7 @@
5C41F6AA244DCAFB00252548 /* ClearSessionTransaction.swift in Sources */,
5FDE875D1D8A424700EA27DC /* AuthenticationError.swift in Sources */,
5FADB6061CED27FB00D4BB50 /* Users.swift in Sources */,
31ADB6112A52E436009F90A8 /* Accessibility.swift in Sources */,
5CB41D4023D0BA2C00074024 /* IDTokenValidatorContext.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
1 change: 0 additions & 1 deletion Auth0/ClaimValidators.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#if WEB_AUTH_PLATFORM
import Foundation
import JWTDecode

protocol IDTokenClaimsValidatorContext {
var issuer: String { get }
Expand Down
2 changes: 0 additions & 2 deletions Auth0/CredentialsManager.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// swiftlint:disable file_length

import Foundation
import SimpleKeychain
import JWTDecode
import Combine
#if WEB_AUTH_PLATFORM
import LocalAuthentication
Expand Down
1 change: 0 additions & 1 deletion Auth0/CredentialsStorage.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import SimpleKeychain
import Foundation

/// Generic storage API for storing credentials.
Expand Down
1 change: 0 additions & 1 deletion Auth0/IDTokenSignatureValidator.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#if WEB_AUTH_PLATFORM
import Foundation
import JWTDecode

protocol IDTokenSignatureValidatorContext {
var issuer: String { get }
Expand Down
1 change: 0 additions & 1 deletion Auth0/IDTokenValidator.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#if WEB_AUTH_PLATFORM
import Foundation
import JWTDecode

protocol JWTValidator {
func validate(_ jwt: JWT) -> Auth0Error?
Expand Down
1 change: 0 additions & 1 deletion Auth0/JWT+Header.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#if WEB_AUTH_PLATFORM
import Foundation
import JWTDecode

extension JWT {

Expand Down
1 change: 0 additions & 1 deletion Auth0/JWTAlgorithm.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#if WEB_AUTH_PLATFORM
import Foundation
import JWTDecode

enum JWTAlgorithm: String {
case rs256 = "RS256"
Expand Down

0 comments on commit 5d48d08

Please sign in to comment.