Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @auth0/dx-sdks-engineer
* @auth0/project-dx-sdks-engineer-codeowner
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ runs:
shell: bash

- name: Set up Ruby
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # pin@v1.268.0
with:
bundler-cache: true
cache-version: 1

- name: Setup Xcode
uses: mxcl/xcodebuild@6e60022a0cbe8c89278be2dd1773a2f68e7c5c87
uses: mxcl/xcodebuild@d3ee9b419c1be9a988086c58fe0988f32d99cfc5 # pin@v3.4.0
with:
xcode: ${{ inputs.xcode }}
action: none
17 changes: 12 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ on:
- opened
- synchronize

env:
ruby: '3.3.1'

jobs:
test:
name: Test using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
runs-on: macos-14


env:
xcodeproj: Lock.xcodeproj
Expand All @@ -17,7 +21,7 @@ jobs:
strategy:
matrix:
xcode:
- '14.1'
- '16.1'

steps:
- name: Checkout
Expand Down Expand Up @@ -47,12 +51,12 @@ jobs:

pod-lint:
name: Lint podspec using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
runs-on: macos-14

strategy:
matrix:
xcode:
- '14.1'
- '16.1'

steps:
- name: Checkout
Expand All @@ -72,12 +76,15 @@ jobs:

swiftlint:
name: Lint code with SwiftLint
runs-on: macos-latest
runs-on: macos-14

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Install SwiftLint
run: brew install swiftlint

- name: Run SwiftLint
run: swiftlint lint --reporter github-actions-logging

Expand Down
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "auth0/Auth0.swift" ~> 1.31
github "auth0/Auth0.swift" ~> 2.16.0
4 changes: 0 additions & 4 deletions Cartfile.private

This file was deleted.

10 changes: 3 additions & 7 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
github "AliSoftware/OHHTTPStubs" "9.1.0"
github "Quick/Nimble" "v9.2.1"
github "Quick/Quick" "v4.0.0"
github "auth0/Auth0.swift" "1.36.0"
github "auth0/JWTDecode.swift" "2.6.2"
github "auth0/SimpleKeychain" "0.12.4"
github "emaloney/CleanroomLogger" "7.0.0"
github "auth0/Auth0.swift" "2.16.1"
github "auth0/JWTDecode.swift" "3.3.0"
github "auth0/SimpleKeychain" "1.3.0"
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,4 @@ DEPENDENCIES
slather

BUNDLED WITH
2.1.4
2.7.1
16 changes: 9 additions & 7 deletions Lock.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -1359,7 +1359,7 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = LockUITests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1382,7 +1382,7 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = LockUITests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1405,7 +1405,7 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1427,7 +1427,7 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1571,7 +1571,7 @@
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build";
INFOPLIST_FILE = Lock/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1598,7 +1598,7 @@
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build";
INFOPLIST_FILE = Lock/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1616,6 +1616,7 @@
buildSettings = {
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = LockTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1632,6 +1633,7 @@
buildSettings = {
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = LockTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
8 changes: 4 additions & 4 deletions Lock/OfflineConnections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ import Foundation

struct OfflineConnections: ConnectionBuildable {

private (set) var databases: [DatabaseConnection] = []
private(set) var databases: [DatabaseConnection] = []
var database: DatabaseConnection? { return self.databases.first }
private (set) var oauth2: [OAuth2Connection] = []
private (set) var enterprise: [EnterpriseConnection] = []
private (set) var passwordless: [PasswordlessConnection] = []
private(set) var oauth2: [OAuth2Connection] = []
private(set) var enterprise: [EnterpriseConnection] = []
private(set) var passwordless: [PasswordlessConnection] = []

mutating func database(name: String, requiresUsername: Bool, usernameValidator: UsernameValidator = UsernameValidator(), passwordValidator: PasswordPolicyValidator) {
self.databases.append(DatabaseConnection(name: name, requiresUsername: requiresUsername, usernameValidator: usernameValidator, passwordValidator: passwordValidator))
Expand Down
Loading