Skip to content

Commit

Permalink
Add SDK Privacy Manifests (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenachbaur-okta authored Apr 5, 2024
1 parent 06169d8 commit 768b5fe
Show file tree
Hide file tree
Showing 15 changed files with 73 additions and 13 deletions.
4 changes: 2 additions & 2 deletions OktaAuthFoundation.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OktaAuthFoundation"
s.module_name = "AuthFoundation"
s.version = "1.7.0"
s.version = "1.7.1"
s.summary = "Okta Authentication Foundation"
s.description = <<-DESC
Provides the foundation and common features used to authenticate users, managing the lifecycle and storage of tokens and credentials, and provide a base for other Okta SDKs to build upon.
Expand All @@ -22,6 +22,6 @@ Provides the foundation and common features used to authenticate users, managing
s.authors = { "Okta Developers" => "[email protected]"}
s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s }
s.source_files = "Sources/AuthFoundation/**/*.swift"
s.resources = "Sources/AuthFoundation/Resources/*.lproj"
s.resources = "Sources/AuthFoundation/Resources/**/*"
s.swift_version = "5.6"
end
4 changes: 2 additions & 2 deletions OktaDirectAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OktaDirectAuth"
s.version = "1.7.0"
s.version = "1.7.1"
s.summary = "Okta Direct Authentication"
s.description = <<-DESC
Enables application developers to build native sign in experiences using the Okta Direct Authentication API.
Expand All @@ -21,7 +21,7 @@ Enables application developers to build native sign in experiences using the Okt
s.authors = { "Okta Developers" => "[email protected]"}
s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s }
s.source_files = "Sources/OktaDirectAuth/**/*.swift"
s.resources = "Sources/OktaDirectAuth/Resources/*.lproj"
s.resources = "Sources/OktaDirectAuth/Resources/**/*"
s.swift_version = "5.6"

s.dependency "OktaAuthFoundation", "#{s.version.to_s}"
Expand Down
4 changes: 2 additions & 2 deletions OktaOAuth2.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OktaOAuth2"
s.version = "1.7.0"
s.version = "1.7.1"
s.summary = "Okta OAuth2 Authentication"
s.description = <<-DESC
Enables application developers to authenticate users utilizing a variety of OAuth2 authentication flows.
Expand All @@ -21,7 +21,7 @@ Enables application developers to authenticate users utilizing a variety of OAut
s.authors = { "Okta Developers" => "[email protected]"}
s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s }
s.source_files = "Sources/OktaOAuth2/**/*.swift"
s.resources = "Sources/OktaOAuth2/Resources/*.lproj"
s.resources = "Sources/OktaOAuth2/Resources/**/*"
s.swift_version = "5.6"

s.dependency "OktaAuthFoundation", "#{s.version.to_s}"
Expand Down
4 changes: 2 additions & 2 deletions OktaWebAuthenticationUI.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OktaWebAuthenticationUI"
s.module_name = "WebAuthenticationUI"
s.version = "1.7.0"
s.version = "1.7.1"
s.summary = "Okta Web Authentication UI"
s.description = <<-DESC
Authenticate users using web-based OIDC.
Expand All @@ -18,7 +18,7 @@ Authenticate users using web-based OIDC.
s.authors = { "Okta Developers" => "[email protected]"}
s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s }
s.source_files = "Sources/WebAuthenticationUI/**/*.swift"
s.resources = "Sources/WebAuthenticationUI/Resources/*.lproj"
s.resources = "Sources/WebAuthenticationUI/Resources/**/*"
s.swift_version = "5.6"

s.dependency "OktaAuthFoundation", "#{s.version.to_s}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This library uses semantic versioning and follows Okta's [Library Version Policy

| Version | Status |
| ------- | ---------------------------------- |
| 1.7.0 | ✔️ Stable |
| 1.7.1 | ✔️ Stable |

The latest release can always be found on the [releases page][github-releases].

Expand Down
14 changes: 14 additions & 0 deletions Sources/AuthFoundation/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import Foundation

#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
#if canImport(LocalAuthentication) && !os(tvOS)
import LocalAuthentication
#else
Expand Down Expand Up @@ -160,3 +161,4 @@ final class UserDefaultsTokenStorage: TokenStorage {
userDefaults.synchronize()
}
}
#endif
2 changes: 1 addition & 1 deletion Sources/AuthFoundation/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
import Foundation

// swiftlint:disable identifier_name
public let Version = SDKVersion(sdk: "okta-authfoundation-swift", version: "1.7.0")
public let Version = SDKVersion(sdk: "okta-authfoundation-swift", version: "1.7.1")
// swiftlint:enable identifier_name
14 changes: 14 additions & 0 deletions Sources/OktaDirectAuth/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Sources/OktaDirectAuth/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
@_exported import AuthFoundation

// swiftlint:disable identifier_name
public let Version = SDKVersion(sdk: "okta-directauth-swift", version: "1.7.0")
public let Version = SDKVersion(sdk: "okta-directauth-swift", version: "1.7.1")
// swiftlint:enable identifier_name
14 changes: 14 additions & 0 deletions Sources/OktaOAuth2/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Sources/OktaOAuth2/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
@_exported import AuthFoundation

// swiftlint:disable identifier_name
public let Version = SDKVersion(sdk: "okta-oauth2-swift", version: "1.7.0")
public let Version = SDKVersion(sdk: "okta-oauth2-swift", version: "1.7.1")
// swiftlint:enable identifier_name
14 changes: 14 additions & 0 deletions Sources/WebAuthenticationUI/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Sources/WebAuthenticationUI/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ import Foundation
import AuthFoundation

// swiftlint:disable identifier_name
public let Version = SDKVersion(sdk: "okta-webauthenticationui-swift", version: "1.7.0")
public let Version = SDKVersion(sdk: "okta-webauthenticationui-swift", version: "1.7.1")
// swiftlint:enable identifier_name
2 changes: 2 additions & 0 deletions Tests/AuthFoundationTests/UserDefaultsTokenStorageTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// See the License for the specific language governing permissions and limitations under the License.
//

#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
import XCTest
@testable import AuthFoundation
import TestCommon
Expand Down Expand Up @@ -102,3 +103,4 @@ final class UserDefaultTokenStorageTests: XCTestCase {
XCTAssertNil(storage.defaultTokenID)
}
}
#endif

0 comments on commit 768b5fe

Please sign in to comment.