Built-in session presets, instantiable with zero configuration (spec FR-002 / SC-006): anonymous, authentication token, cookie, header, OAuth, and API key.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
all
→ const List<
SessionPreset> - All built-ins in registration order.
- anonymous → const SessionPreset
- A session with no identity attached (guest browsing, anonymous usage).
- apiKey → const SessionPreset
- An API key session (key + optional secret).
- authToken → const SessionPreset
- A bearer-style authentication token.
- A single cookie (name/value + optional attributes).
- header → const SessionPreset
- A header-based session (e.g. a custom auth header).
- oauth → const SessionPreset
- An OAuth flow session (token, refresh, scopes, expiry).