A session manager that mediates sharing data between an app and a web browser.


class ASWebAuthenticationSessionWebBrowserSessionManager : NSObject


Getting the Shared Manager

class var shared: ASWebAuthenticationSessionWebBrowserSessionManager

The shared manager for which a web browser acts as the session handler.

Handling a Session Request

var sessionHandler: ASWebAuthenticationSessionWebBrowserSessionHandling

A handler that a web browser provides to handle session requests from an app.

protocol ASWebAuthenticationSessionWebBrowserSessionHandling

An interface that a session handler implements to handle login requests from an app.

Querying the Manager

var wasLaunchedByAuthenticationServices: Bool

A Boolean that indicates whether the session was launched by authentication services.


Inherits From

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software