WebCookieManager class
A CookieManager implementation for web browsers using document.cookie
.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- interceptor → Interceptor
-
Returns a Dio interceptor for handling cookies.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildUrlWithToken(
String url) → String -
Builds a URL with the token included as a query parameter.
override
-
deleteAllCookies(
) → void -
Deletes all cookies globally across the domain.
override
-
deleteCookies(
Uri uri) → void -
Deletes all cookies for a specific URI.
override
-
getSingleCookie(
Uri uri, String name) → Cookie -
Retrieves a single cookie by its name for a specific URI.
override
-
loadCookies(
Uri uri) → List< Cookie> -
Loads all cookies available for the current domain.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCookies(
Uri uri, List< Cookie> cookies) → void -
Saves cookies to the browser for a specific URI.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited