@@ -2151,8 +2151,8 @@ public protocol ClientBuilderProtocol : AnyObject {
2151
2151
*
2152
2152
* This method will build the client and immediately attempt to log the
2153
2153
* client in using the provided [`QrCodeData`] using the login
2154
- * mechanism described in [MSC4108]. As such this methods requires OIDC
2155
- * support as well as sliding sync support.
2154
+ * mechanism described in [MSC4108]. As such this methods requires OAuth
2155
+ * 2.0 support as well as sliding sync support.
2156
2156
*
2157
2157
* The usage of the progress_listener is required to transfer the
2158
2158
* [`CheckCode`] to the existing client.
@@ -2349,8 +2349,8 @@ open func build()async throws -> Client {
2349
2349
*
2350
2350
* This method will build the client and immediately attempt to log the
2351
2351
* client in using the provided [`QrCodeData`] using the login
2352
- * mechanism described in [MSC4108]. As such this methods requires OIDC
2353
- * support as well as sliding sync support.
2352
+ * mechanism described in [MSC4108]. As such this methods requires OAuth
2353
+ * 2.0 support as well as sliding sync support.
2354
2354
*
2355
2355
* The usage of the progress_listener is required to transfer the
2356
2356
* [`CheckCode`] to the existing client.
@@ -23451,8 +23451,8 @@ public enum QrLoginProgress {
23451
23451
*/checkCodeString: String
23452
23452
)
23453
23453
/**
23454
- * We are waiting for the login and for the OIDC provider to give us an
23455
- * access token.
23454
+ * We are waiting for the login and for the OAuth 2.0 authorization server
23455
+ * to give us an access token.
23456
23456
*/
23457
23457
case waitingForToken(userCode: String
23458
23458
)
@@ -25565,8 +25565,6 @@ extension ShieldState: Equatable, Hashable {}
25565
25565
public enum SlidingSyncVersion {
25566
25566
25567
25567
case none
25568
- case proxy(url: String
25569
- )
25570
25568
case native
25571
25569
}
25572
25570
@@ -25580,10 +25578,7 @@ public struct FfiConverterTypeSlidingSyncVersion: FfiConverterRustBuffer {
25580
25578
25581
25579
case 1: return .none
25582
25580
25583
- case 2: return .proxy(url: try FfiConverterString.read(from: &buf)
25584
- )
25585
-
25586
- case 3: return .native
25581
+ case 2: return .native
25587
25582
25588
25583
default: throw UniffiInternalError.unexpectedEnumCase
25589
25584
}
@@ -25597,13 +25592,8 @@ public struct FfiConverterTypeSlidingSyncVersion: FfiConverterRustBuffer {
25597
25592
writeInt(&buf, Int32(1))
25598
25593
25599
25594
25600
- case let .proxy(url):
25601
- writeInt(&buf, Int32(2))
25602
- FfiConverterString.write(url, into: &buf)
25603
-
25604
-
25605
25595
case .native:
25606
- writeInt(&buf, Int32(3 ))
25596
+ writeInt(&buf, Int32(2 ))
25607
25597
25608
25598
}
25609
25599
}
@@ -25630,10 +25620,7 @@ extension SlidingSyncVersion: Equatable, Hashable {}
25630
25620
public enum SlidingSyncVersionBuilder {
25631
25621
25632
25622
case none
25633
- case proxy(url: String
25634
- )
25635
25623
case native
25636
- case discoverProxy
25637
25624
case discoverNative
25638
25625
}
25639
25626
@@ -25647,14 +25634,9 @@ public struct FfiConverterTypeSlidingSyncVersionBuilder: FfiConverterRustBuffer
25647
25634
25648
25635
case 1: return .none
25649
25636
25650
- case 2: return .proxy(url: try FfiConverterString.read(from: &buf)
25651
- )
25652
-
25653
- case 3: return .native
25637
+ case 2: return .native
25654
25638
25655
- case 4: return .discoverProxy
25656
-
25657
- case 5: return .discoverNative
25639
+ case 3: return .discoverNative
25658
25640
25659
25641
default: throw UniffiInternalError.unexpectedEnumCase
25660
25642
}
@@ -25668,21 +25650,12 @@ public struct FfiConverterTypeSlidingSyncVersionBuilder: FfiConverterRustBuffer
25668
25650
writeInt(&buf, Int32(1))
25669
25651
25670
25652
25671
- case let .proxy(url):
25672
- writeInt(&buf, Int32(2))
25673
- FfiConverterString.write(url, into: &buf)
25674
-
25675
-
25676
25653
case .native:
25677
- writeInt(&buf, Int32(3))
25678
-
25679
-
25680
- case .discoverProxy:
25681
- writeInt(&buf, Int32(4))
25654
+ writeInt(&buf, Int32(2))
25682
25655
25683
25656
25684
25657
case .discoverNative:
25685
- writeInt(&buf, Int32(5 ))
25658
+ writeInt(&buf, Int32(3 ))
25686
25659
25687
25660
}
25688
25661
}
@@ -32214,7 +32187,7 @@ private var initializationResult: InitializationResult = {
32214
32187
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_build() != 56018) {
32215
32188
return InitializationResult.apiChecksumMismatch
32216
32189
}
32217
- if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_build_with_qr_code() != 51905 ) {
32190
+ if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_build_with_qr_code() != 42452 ) {
32218
32191
return InitializationResult.apiChecksumMismatch
32219
32192
}
32220
32193
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_cross_process_store_locks_holder_name() != 46627) {
0 commit comments