mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Add an OAuthPresenterHook. (#5545)
* Add an OAuthPresenterHook. * Update the enterprise submodule.
This commit is contained in:
+2
@@ -15,6 +15,7 @@ struct SoftLogoutScreenCoordinatorParameters {
|
||||
let keyBackupNeeded: Bool
|
||||
let appMediator: AppMediatorProtocol
|
||||
let appSettings: AppSettings
|
||||
let appHooks: AppHooks
|
||||
let userIndicatorController: UserIndicatorControllerProtocol
|
||||
}
|
||||
|
||||
@@ -160,6 +161,7 @@ final class SoftLogoutScreenCoordinator: CoordinatorProtocol {
|
||||
redirectURL: parameters.appSettings.oAuthRedirectURL,
|
||||
presentationAnchor: presentationAnchor,
|
||||
appMediator: parameters.appMediator,
|
||||
appHooks: parameters.appHooks,
|
||||
userIndicatorController: parameters.userIndicatorController)
|
||||
self.oAuthPresenter = presenter
|
||||
switch await presenter.authenticate(using: oAuthData) {
|
||||
|
||||
Reference in New Issue
Block a user