Skip to content

Commit ba81f99

Browse files
committed
Update cocoapods imports
1 parent 07160ab commit ba81f99

18 files changed

Lines changed: 49 additions & 3 deletions

OktaAuthFoundation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Provides the foundation and common features used to authenticate users, managing
2424
s.authors = { "Okta Developers" => "developer@okta.com"}
2525
s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s }
2626

27-
s.source_files = "Sources/{AuthFoundation,CommonSupport}/**/*.swift"
27+
s.source_files = "Sources/{AuthFoundation,CommonSupport,JSON}/**/*.swift"
2828
s.resource_bundles = { "AuthFoundation" => "Sources/AuthFoundation/Resources/**/*" }
2929
s.swift_versions = ['5.10', '6.0']
3030
s.prefix_header_file = false

Sources/AuthFoundation/Responses/OpenIdConfiguration.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
//
1212

1313
import Foundation
14+
15+
#if !COCOAPODS
1416
import JSON
17+
#endif
1518

1619
/// Describes the configuration of an OpenID server.
1720
///

Sources/AuthFoundation/Token Management/Internal/Token+Internal.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
//
1212

1313
import Foundation
14+
15+
#if !COCOAPODS
1416
import JSON
17+
#endif
1518

1619
extension Token {
1720
/// When refreshing a token, not all values are always returned, especially the refresh token or device secret.

Sources/AuthFoundation/Token Management/Token+Initialization.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
//
1212

1313
import Foundation
14+
15+
#if !COCOAPODS
1416
import JSON
17+
#endif
1518

1619
extension Token {
1720
public init(from decoder: any Decoder) throws {

Sources/OktaDirectAuth/WebAuthn/PublicKeyCredentialRequestOptions.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
import Foundation
1414
import AuthFoundation
15+
16+
#if !COCOAPODS
1517
import JSON
18+
#endif
1619

1720
extension WebAuthn {
1821
/**

Sources/OktaIdxAuth/Capabilities/WebAuthnRegistrationCapability.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
import Foundation
1414
import AuthFoundation
15-
import JSON
1615

1716
#if !COCOAPODS
1817
import CommonSupport
18+
import JSON
1919
#endif
2020

2121
public enum WebAuthnCapabilityError: Error {

Sources/OktaIdxAuth/IDXAuthenticator.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
import Foundation
1414

15+
#if !COCOAPODS
16+
import JSON
17+
#endif
18+
1519
/// Represents information describing the available authenticators and enrolled authenticators.
1620
///
1721
/// Instances of this class are used to identify the type of authenticator, or factor, that is associated with a user. These may be associated with form fields (for example, when selecting an authenticator to verify or to enrol in), with a ``Remediation`` (when challenging an authenticator for a verification code), or with an overall ``Response`` to indicate which authenticators have been enrolled, are being enrolled.

Sources/OktaIdxAuth/IDXFormField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
import Foundation
1414
import AuthFoundation
15-
@_exported import JSON
1615

1716
#if !COCOAPODS
1817
import CommonSupport
18+
import JSON
1919
#endif
2020

2121
extension Remediation.Form {

Sources/OktaIdxAuth/Internal/Extensions/IDXRemediation+Extensions.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
import Foundation
1414
import AuthFoundation
15+
16+
#if !COCOAPODS
1517
import JSON
18+
#endif
1619

1720
extension Remediation {
1821
func apiRequest() throws -> InteractionCodeFlow.RemediationRequest {

Sources/OktaIdxAuth/Internal/Extensions/URL+WebAuthnExtensions.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
import Foundation
1414
import AuthFoundation
15+
16+
#if !COCOAPODS
1517
import JSON
18+
#endif
1619

1720
extension String {
1821
static func relyingPartyIssuer(from json: JSON, issuerURL: URL) throws -> String {

0 commit comments

Comments
 (0)