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

# sessionHandler

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

```
var sessionHandler: any ASWebAuthenticationSessionWebBrowserSessionHandling { get set }
```

## Discussion

To enable a web browser that you write to participate in single sign-on (SSO), adopt the [`ASWebAuthenticationSessionWebBrowserSessionHandling`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionHandling) protocol, and then set your browser app as the [`shared`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/shared) manager’s [`sessionHandler`](/documentation/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionManager/sessionHandler).

---

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)