CookieAuthorizationProvider class abstract

An HTTP cookie based authorization provider.

The cookies are sent to the backend to be able to do operations requiring authorization such as FIDO UAF registration or de-registration.

Inheritance

Constructors

CookieAuthorizationProvider({required List<CookieContainer> cookieContainers})
Default constructor for CookieAuthorizationProvider.
factory
CookieAuthorizationProvider.fromJson(Map<String, dynamic> json)
Alternate constructor that creates a CookieAuthorizationProvider from a json.
factory

Properties

cookieContainers List<CookieContainer>
List of containers that hold cookies that can be used to do authorization.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited