<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASWebAuthenticationSessionWebBrowserSessionManager"
  },
  "title" : "ASWebAuthenticationSessionWebBrowserSessionManager"
}
-->

# ASWebAuthenticationSessionWebBrowserSessionManager

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

```
class ASWebAuthenticationSessionWebBrowserSessionManager
```

## Overview

You don’t create a session manager directly. Instead, use the [`shared`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/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`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionHandling) protocol to the shared manager’s [`sessionHandler`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/sessionHandler) property.

You can also use the shared managers [`wasLaunchedByAuthenticationServices`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/wasLaunchedByAuthenticationServices) property to determine if your web browser app was launched for the specific purpose of performing authentication.

## Topics

### Getting the Shared Manager

[`shared`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/shared)

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

### Handling a Session Request

[`sessionHandler`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/sessionHandler)

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

[`ASWebAuthenticationSessionWebBrowserSessionHandling`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionHandling)

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

### Querying the Manager

[`wasLaunchedByAuthenticationServices`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/wasLaunchedByAuthenticationServices)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)