A session manager that mediates sharing data between an app and a web browser.
SDK
- macOS 10.15+
Framework
- Authentication
Services
Declaration
class ASWebAuthenticationSessionWebBrowserSessionManager : NSObject
Overview
You don't create a session manager directly. Instead, use the shared
session manager to tell the system what instance within your web browser app handles authentication requests. Do this by assigning an instance of a class that adopts the ASWeb
protocol to the shared manager’s session
property.
You can also use the shared managers was
property to determine if your web browser app was launched for the specific purpose of performing authentication.