Skip to content

Commit 444186c

Browse files
authored
Release 2.12.0 (#951)
1 parent 6cfa69c commit 444186c

File tree

480 files changed

+496
-380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

480 files changed

+496
-380
lines changed

Auth0.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Auth0'
3-
s.version = '2.11.0'
3+
s.version = '2.12.0'
44
s.summary = "Auth0 SDK for Apple platforms"
55
s.description = <<-DESC
66
Auth0 SDK for iOS, macOS, tvOS, watchOS and visionOS apps.

Auth0/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.11.0</string>
18+
<string>2.12.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Auth0/Version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let version = "2.11.0"
1+
let version = "2.12.0"

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Change Log
22

3+
## [2.12.0](https://github.com/auth0/Auth0.swift/tree/2.12.0) (2025-05-08)
4+
[Full Changelog](https://github.com/auth0/Auth0.swift/compare/2.11.0...2.12.0)
5+
6+
**This release drops support for Xcode < 16.**
7+
8+
**Added**
9+
- Added support for Multi-Resource Refresh Token (MRRT) [\#912](https://github.com/auth0/Auth0.swift/pull/912) ([Widcket](https://github.com/Widcket))
10+
- Added support for logging in with passkey [SDK-4974] [\#944](https://github.com/auth0/Auth0.swift/pull/944) ([Widcket](https://github.com/Widcket))
11+
- Added support for signing up with passkey [SDK-4974] [\#942](https://github.com/auth0/Auth0.swift/pull/942) ([Widcket](https://github.com/Widcket))
12+
13+
**Changed**
14+
- Updated Swift version sent in `Auth0-Client` header [\#945](https://github.com/auth0/Auth0.swift/pull/945) ([Widcket](https://github.com/Widcket))
15+
- `>=5.10` swift compiler checks removed after updating to Xcode 16 [\#937](https://github.com/auth0/Auth0.swift/pull/937) ([NandanPrabhu](https://github.com/NandanPrabhu))
16+
317
## [2.11.0](https://github.com/auth0/Auth0.swift/tree/2.11.0) (2025-04-17)
418
[Full Changelog](https://github.com/auth0/Auth0.swift/compare/2.10.0...2.11.0)
519

Gemfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ GEM
2525
artifactory (3.0.17)
2626
atomos (0.1.3)
2727
aws-eventstream (1.3.2)
28-
aws-partitions (1.1089.0)
29-
aws-sdk-core (3.222.2)
28+
aws-partitions (1.1100.0)
29+
aws-sdk-core (3.223.0)
3030
aws-eventstream (~> 1, >= 1.3.0)
3131
aws-partitions (~> 1, >= 1.992.0)
3232
aws-sigv4 (~> 1.9)
3333
base64
3434
jmespath (~> 1, >= 1.6.1)
3535
logger
36-
aws-sdk-kms (1.99.0)
36+
aws-sdk-kms (1.100.0)
3737
aws-sdk-core (~> 3, >= 3.216.0)
3838
aws-sigv4 (~> 1.5)
39-
aws-sdk-s3 (1.183.0)
39+
aws-sdk-s3 (1.185.0)
4040
aws-sdk-core (~> 3, >= 3.216.0)
4141
aws-sdk-kms (~> 1)
4242
aws-sigv4 (~> 1.5)
@@ -90,7 +90,7 @@ GEM
9090
commander (4.6.0)
9191
highline (~> 2.0.0)
9292
concurrent-ruby (1.3.5)
93-
connection_pool (2.5.1)
93+
connection_pool (2.5.3)
9494
declarative (0.0.20)
9595
digest-crc (0.7.0)
9696
rake (>= 12.0.0, < 14.0.0)
@@ -131,7 +131,7 @@ GEM
131131
faraday_middleware (1.2.1)
132132
faraday (~> 1.0)
133133
fastimage (2.4.0)
134-
fastlane (2.227.1)
134+
fastlane (2.227.2)
135135
CFPropertyList (>= 2.3, < 4.0.0)
136136
addressable (>= 2.8, < 3.0.0)
137137
artifactory (~> 3.0)
@@ -226,7 +226,7 @@ GEM
226226
i18n (1.14.7)
227227
concurrent-ruby (~> 1.0)
228228
jmespath (1.6.2)
229-
json (2.10.2)
229+
json (2.11.3)
230230
jwt (2.10.1)
231231
base64
232232
logger (1.7.0)
@@ -242,9 +242,9 @@ GEM
242242
naturally (2.2.1)
243243
netrc (0.11.0)
244244
nkf (0.2.0)
245-
nokogiri (1.18.7-arm64-darwin)
245+
nokogiri (1.18.8-arm64-darwin)
246246
racc (~> 1.4)
247-
nokogiri (1.18.7-x86_64-darwin)
247+
nokogiri (1.18.8-x86_64-darwin)
248248
racc (~> 1.4)
249249
optparse (0.6.0)
250250
os (1.1.4)
@@ -265,7 +265,7 @@ GEM
265265
securerandom (0.4.1)
266266
security (0.1.5)
267267
semantic (1.6.1)
268-
signet (0.19.0)
268+
signet (0.20.0)
269269
addressable (~> 2.8)
270270
faraday (>= 0.17.5, < 3.a)
271271
jwt (>= 1.5, < 3.0)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Then, select the dependency rule and press **Add Package**.
5555
Add the following line to your `Podfile`:
5656

5757
```ruby
58-
pod 'Auth0', '~> 2.11'
58+
pod 'Auth0', '~> 2.12'
5959
```
6060

6161
Then, run `pod install`.
@@ -65,7 +65,7 @@ Then, run `pod install`.
6565
Add the following line to your `Cartfile`:
6666

6767
```text
68-
github "auth0/Auth0.swift" ~> 2.11
68+
github "auth0/Auth0.swift" ~> 2.12
6969
```
7070

7171
Then, run `carthage bootstrap --use-xcframeworks`.

docs/data/documentation/auth0.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"APICredentials","kind":"identifier"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/auth0\/apicredentials"]}],"hierarchy":{"paths":[["doc:\/\/com.auth0.Auth0\/documentation\/Auth0"]]},"topicSections":[{"generated":true,"anchor":"Initializers","title":"Initializers","identifiers":["doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/init(accessToken:tokenType:expiresIn:scope:)"]},{"generated":true,"anchor":"Instance-Properties","title":"Instance Properties","identifiers":["doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/accessToken","doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/description","doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/expiresIn","doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/scope","doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/tokenType"]},{"generated":true,"anchor":"Default-Implementations","title":"Default Implementations","identifiers":["doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/Decodable-Implementations"]}],"relationshipsSections":[{"identifiers":["doc:\/\/com.auth0.Auth0\/s8CopyableP","doc:\/\/com.auth0.Auth0\/s23CustomStringConvertibleP","doc:\/\/com.auth0.Auth0\/Se","doc:\/\/com.auth0.Auth0\/SE"],"type":"conformsTo","title":"Conforms To","kind":"relationships"}],"metadata":{"roleHeading":"Structure","symbolKind":"struct","navigatorTitle":[{"kind":"identifier","text":"APICredentials"}],"externalID":"s:5Auth014APICredentialsV","title":"APICredentials","role":"symbol","modules":[{"name":"Auth0"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"APICredentials","kind":"identifier"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials","interfaceLanguage":"swift"},"sections":[],"abstract":[{"text":"User’s credentials obtained from Auth0 for a specific API as the result of exchanging a refresh token.","type":"text"}],"kind":"symbol","references":{"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/description":{"role":"symbol","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/description","type":"topic","title":"description","kind":"symbol","abstract":[{"text":"Custom description that redacts the access token with ","type":"text"},{"type":"codeVoice","code":"<REDACTED>"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/auth0\/apicredentials\/description"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/accessToken":{"role":"symbol","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/accessToken","type":"topic","title":"accessToken","kind":"symbol","abstract":[{"text":"Token that can be used to make authenticated requests to the API.","type":"text"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"accessToken"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/auth0\/apicredentials\/accesstoken"},"doc://com.auth0.Auth0/documentation/Auth0":{"type":"topic","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0","title":"Auth0","abstract":[{"text":"SDK for Apple platforms.","type":"text"}],"role":"collection","url":"\/documentation\/auth0","kind":"symbol"},"doc://com.auth0.Auth0/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/com.auth0.Auth0\/s23CustomStringConvertibleP"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/tokenType":{"abstract":[{"text":"Indicates how the access token should be used. For example, as a bearer token.","type":"text"}],"kind":"symbol","url":"\/documentation\/auth0\/apicredentials\/tokentype","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"tokenType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"role":"symbol","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/tokenType","title":"tokenType","type":"topic"},"doc://com.auth0.Auth0/s8CopyableP":{"title":"Swift.Copyable","identifier":"doc:\/\/com.auth0.Auth0\/s8CopyableP","type":"unresolvable"},"doc://com.auth0.Auth0/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/com.auth0.Auth0\/SE"},"doc://com.auth0.Auth0/Se":{"title":"Swift.Decodable","identifier":"doc:\/\/com.auth0.Auth0\/Se","type":"unresolvable"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/scope":{"kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"scope"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"type":"topic","abstract":[{"text":"The scopes that have been granted by Auth0.","type":"text"}],"title":"scope","url":"\/documentation\/auth0\/apicredentials\/scope","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/scope","role":"symbol"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/expiresIn":{"kind":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"expiresIn"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"}],"type":"topic","abstract":[{"type":"text","text":"When the access token expires."}],"title":"expiresIn","url":"\/documentation\/auth0\/apicredentials\/expiresin","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/expiresIn","role":"symbol"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/init(accessToken:tokenType:expiresIn:scope:)":{"kind":"symbol","role":"symbol","url":"\/documentation\/auth0\/apicredentials\/init(accesstoken:tokentype:expiresin:scope:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"accessToken"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tokenType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expiresIn"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier","text":"Date"},{"kind":"text","text":", "},{"kind":"externalParam","text":"scope"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":")"}],"identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/init(accessToken:tokenType:expiresIn:scope:)","type":"topic","title":"init(accessToken:tokenType:expiresIn:scope:)","abstract":[{"text":"Default initializer.","type":"text"}]},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials":{"type":"topic","abstract":[{"text":"User’s credentials obtained from Auth0 for a specific API as the result of exchanging a refresh token.","type":"text"}],"title":"APICredentials","url":"\/documentation\/auth0\/apicredentials","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"APICredentials","kind":"identifier"}],"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"APICredentials","kind":"identifier"}],"identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/Decodable-Implementations":{"kind":"article","role":"collectionGroup","url":"\/documentation\/auth0\/apicredentials\/decodable-implementations","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/Decodable-Implementations","title":"Decodable Implementations","abstract":[],"type":"topic"}}}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"metadata":{"roleHeading":"Instance Property","title":"accessToken","modules":[{"name":"Auth0"}],"externalID":"s:5Auth014APICredentialsV11accessTokenSSvp","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"accessToken","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"role":"symbol","symbolKind":"property"},"seeAlsoSections":[{"identifiers":["https:\/\/auth0.com\/docs\/secure\/tokens\/access-tokens"],"title":"Related Documentation","anchor":"Related-Documentation"}],"abstract":[{"text":"Token that can be used to make authenticated requests to the API.","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/accessToken"},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"accessToken"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/auth0\/apicredentials\/accesstoken"]}],"hierarchy":{"paths":[["doc:\/\/com.auth0.Auth0\/documentation\/Auth0","doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials"]]},"references":{"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/accessToken":{"role":"symbol","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/accessToken","type":"topic","title":"accessToken","kind":"symbol","abstract":[{"text":"Token that can be used to make authenticated requests to the API.","type":"text"}],"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"accessToken"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/auth0\/apicredentials\/accesstoken"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials":{"type":"topic","abstract":[{"text":"User’s credentials obtained from Auth0 for a specific API as the result of exchanging a refresh token.","type":"text"}],"title":"APICredentials","url":"\/documentation\/auth0\/apicredentials","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"APICredentials","kind":"identifier"}],"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"APICredentials","kind":"identifier"}],"identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials"},"https://auth0.com/docs/secure/tokens/access-tokens":{"type":"link","titleInlineContent":[{"type":"text","text":"Access Tokens"}],"url":"https:\/\/auth0.com\/docs\/secure\/tokens\/access-tokens","identifier":"https:\/\/auth0.com\/docs\/secure\/tokens\/access-tokens","title":"Access Tokens"},"doc://com.auth0.Auth0/documentation/Auth0":{"type":"topic","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0","title":"Auth0","abstract":[{"text":"SDK for Apple platforms.","type":"text"}],"role":"collection","url":"\/documentation\/auth0","kind":"symbol"}}}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/Decodable-Implementations"},"kind":"article","hierarchy":{"paths":[["doc:\/\/com.auth0.Auth0\/documentation\/Auth0","doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials"]]},"topicSections":[{"title":"Initializers","anchor":"Initializers","identifiers":["doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/init(from:)"],"generated":true}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"Auth0"}],"roleHeading":"API Collection","title":"Decodable Implementations","role":"collectionGroup"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/auth0\/apicredentials\/decodable-implementations"]}],"references":{"doc://com.auth0.Auth0/documentation/Auth0/APICredentials/init(from:)":{"role":"symbol","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials\/init(from:)","kind":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"type":"topic","abstract":[],"url":"\/documentation\/auth0\/apicredentials\/init(from:)","title":"init(from:)"},"doc://com.auth0.Auth0/documentation/Auth0":{"type":"topic","identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0","title":"Auth0","abstract":[{"text":"SDK for Apple platforms.","type":"text"}],"role":"collection","url":"\/documentation\/auth0","kind":"symbol"},"doc://com.auth0.Auth0/documentation/Auth0/APICredentials":{"type":"topic","abstract":[{"text":"User’s credentials obtained from Auth0 for a specific API as the result of exchanging a refresh token.","type":"text"}],"title":"APICredentials","url":"\/documentation\/auth0\/apicredentials","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"APICredentials","kind":"identifier"}],"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"APICredentials","kind":"identifier"}],"identifier":"doc:\/\/com.auth0.Auth0\/documentation\/Auth0\/APICredentials"}}}

0 commit comments

Comments
 (0)