Contents

ASWebAuthenticationSessionWebBrowserSessionManager

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

Declaration

class ASWebAuthenticationSessionWebBrowserSessionManager

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 ASWebAuthenticationSessionWebBrowserSessionHandling protocol to the shared manager’s sessionHandler property.

You can also use the shared managers wasLaunchedByAuthenticationServices property to determine if your web browser app was launched for the specific purpose of performing authentication.

Topics

Getting the Shared Manager

Handling a Session Request

Querying the Manager

See Also

Web authentication sessions