prefersEphemeralWebBrowserSession property
getter/setter pair
A Boolean value that indicates whether the session should ask the browser for a private authentication session.
Set prefersEphemeralWebBrowserSession to true to request that the browser
doesn’t share cookies or other browsing data between the authentication session and the user’s normal browser session.
Whether the request is honored depends on the user’s default web browser.
Safari always honors the request.
The value of this property is false by default.
Set this property before you call PlatformWebAuthenticationSession.start. Otherwise it has no effect.
Officially Supported Platforms/Implementations:
- iOS WKWebView 13.0+
- macOS WKWebView 10.15+
Implementation
bool? prefersEphemeralWebBrowserSession;