ConsumerContext class

ConsumerContext

Constructors

ConsumerContext({String? deviceId, String? lastUserVerificationAt, ConsumerContextNetworkClass? networkClass})
const
ConsumerContext.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

deviceId → String?
Device-binding id assigned at registration. The maintainer cross-checks this against the authenticated transport identity.
final
hashCode → int
The hash code for this object.
no setterinherited
lastUserVerificationAt → String?
Most recent local user-verification on the consumer device (WebAuthn UV, biometric unlock). The maintainer's policy may require this to be within N seconds.
final
networkClass → ConsumerContextNetworkClass?
Producer-supplied network classification. Advisory.
final
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
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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