Contents

prefersEphemeralWebBrowserSession

A Boolean value that indicates whether the session should ask the browser for a private authentication session.

Declaration

var prefersEphemeralWebBrowserSession: Bool { get set }

Mentioned in

Discussion

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.

Safari always respects the request. In macOS, someone can choose a different default browser that might or might not respect the request.

The value of this property is false by default.

Set this property before you call start(). Otherwise it has no effect.