MSALWebviewType
enum MSALWebviewType : NSInteger {}
MSAL requires a web browser is required for interactive authentication. There are multiple web browsers available to complete authentication. MSAL will default to the web browser that provides best security and user experience for a given platform. MSALWebviewType allows changing the experience by customizing the configuration to other options for displaying web content
-
For iOS 11 and up, uses AuthenticationSession (ASWebAuthenticationSession or SFAuthenticationSession). For older versions, with AuthenticationSession not being available, uses SafariViewController. For macOS 10.15 and above uses ASWebAuthenticationSession For older macOS versions uses WKWebView
Declaration
Objective-C
MSALWebviewTypeDefault
-
Use ASWebAuthenticationSession where available. On older iOS versions uses SFAuthenticationSession Doesn’t allow any other webview type, so if either of these are not present, fails the request
Declaration
Objective-C
MSALWebviewTypeAuthenticationSession
-
Use SFSafariViewController for all versions.
Declaration
Objective-C
MSALWebviewTypeSafariViewController
-
Use WKWebView
Declaration
Objective-C
MSALWebviewTypeWKWebView