ServerpodClientCookieAuth extension

Browser-managed cookie auth transport for a ServerpodClientShared.

Cookie auth is only supported by browser clients, so it is offered as an extension rather than as part of the client's base interface.

on

Properties

authRefreshCrossTabLock → CrossTabLock?

Available on ServerpodClientShared, provided by the ServerpodClientCookieAuth extension

A lock serializing authentication refreshes against this server across browser tabs, or null when the platform has no cross-tab coordination. The lock name is derived from the host origin and base path and carries no secrets.
no setter
cookieAuth ↔ bool

Available on ServerpodClientShared, provided by the ServerpodClientCookieAuth extension

Whether the client should use browser-managed cookie auth transport.
getter/setter pair