SessionProvider class abstract
Provides the elements required to run an operation in a session.
For example assume that FIDO UAF is used as second factor with nevisAuth. In this case the user must first provide a password and then authenticate using FIDO UAF. When the user provides the password, nevisProxy will generate a cookie that is used to track the authentication session. The HTTP client authenticating must provide this cookie on all the HTTP requests that are sent while authenticating. Thus, the cookie (associated with the authentication session) must also be provided during the FIDO UAF authentication, the HTTP client must authenticate to obtain some authorization tokens (HTTP cookies, JWT, etc.). The client can access the protected resource (the FIDO UAF registration endpoints in this case) by providing these authorization elements.
Currently only cookie based session management is supported.
- Implementers
Constructors
-
SessionProvider.fromJson(Map<
String, dynamic> json) -
Alternate constructor that creates a SessionProvider from a json.
factory
Properties
- 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