TrustTokenParams class

Determines what type of Trust Token operation is executed and depending on the type, some additional parameters. The values are specified in third_party/blink/renderer/core/fetch/trust_token.idl.

Constructors

TrustTokenParams({required TrustTokenOperationType operation, required TrustTokenParamsRefreshPolicy refreshPolicy, List<String>? issuers})
TrustTokenParams.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
issuers List<String>?
Origins of issuers from whom to request tokens or redemption records.
final
operation TrustTokenOperationType
final
refreshPolicy TrustTokenParamsRefreshPolicy
Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a still valid cached SRR.
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>
toString() String
A string representation of this object.
inherited

Operators

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