Rename OIDC to OAuth. (#5525)

* Rename OIDC to OAuth.

* Update the enterprise submodule.
This commit is contained in:
Doug
2026-05-05 14:07:06 +01:00
committed by GitHub
parent e371903204
commit 0acbc41432
57 changed files with 402 additions and 400 deletions
@@ -10,7 +10,7 @@ import Combine
import SwiftUI
enum EncryptionResetScreenCoordinatorAction {
case requestOIDCAuthorisation(URL)
case requestOAuthAuthorisation(URL)
case requestPassword(passwordPublisher: PassthroughSubject<String, Never>)
case resetFinished
case cancel
@@ -44,8 +44,8 @@ final class EncryptionResetScreenCoordinator: CoordinatorProtocol {
guard let self else { return }
switch action {
case .requestOIDCAuthorisation(let url):
self.actionsSubject.send(.requestOIDCAuthorisation(url))
case .requestOAuthAuthorisation(let url):
self.actionsSubject.send(.requestOAuthAuthorisation(url))
case .requestPassword(let passwordPublisher):
self.actionsSubject.send(.requestPassword(passwordPublisher: passwordPublisher))
case .resetFinished:
@@ -11,7 +11,7 @@ import Foundation
enum EncryptionResetScreenViewModelAction {
case requestPassword(passwordPublisher: PassthroughSubject<String, Never>)
case requestOIDCAuthorisation(url: URL)
case requestOAuthAuthorisation(url: URL)
case resetFinished
case cancel
}
@@ -91,9 +91,9 @@ class EncryptionResetScreenViewModel: EncryptionResetScreenViewModelType, Encryp
hideLoadingIndicator()
actionsSubject.send(.requestOIDCAuthorisation(url: url))
actionsSubject.send(.requestOAuthAuthorisation(url: url))
await resetWithOIDCAuthorisation()
await resetWithOAuthAuthorisation()
}
case .failure(let error):
MXLog.error("Failed resetting encryption with error \(error)")
@@ -121,7 +121,7 @@ class EncryptionResetScreenViewModel: EncryptionResetScreenViewModelType, Encryp
}
}
private func resetWithOIDCAuthorisation() async {
private func resetWithOAuthAuthorisation() async {
guard let identityResetHandle else {
fatalError("Requested reset flow continuation without a stored handle")
}