Revert "Revert "#4693 - Drop iOS 11 support.""

This commit is contained in:
Stefan Ceriu
2021-09-01 12:44:15 +03:00
committed by Stefan Ceriu
parent 073d4e3994
commit f1d3e5af9d
31 changed files with 74 additions and 177 deletions
@@ -18,7 +18,6 @@ import Foundation
import AuthenticationServices
/// Provides context to target where in an application's UI the authorization view should be shown.
@available(iOS 12.0, *)
class SSOAuthenticationSessionContextProvider: NSObject, SSOAuthenticationSessionContextProviding, ASWebAuthenticationPresentationContextProviding {
let window: UIWindow
@@ -33,7 +32,6 @@ class SSOAuthenticationSessionContextProvider: NSObject, SSOAuthenticationSessio
/// SSOAuthentificationSession is session used to authenticate a user through a web service on iOS 12+. It uses ASWebAuthenticationSession.
/// More information: https://developer.apple.com/documentation/authenticationservices/authenticating_a_user_through_a_web_service
@available(iOS 12.0, *)
final class SSOAuthentificationSession: SSOAuthentificationSessionProtocol {
// MARK: - Constants