TrustTokenParams

@Serializable
data class TrustTokenParams(val operation: TrustTokenOperationType, val refreshPolicy: TrustTokenRefreshPolicy, val issuers: List<String>? = null)

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.

Official doc

Constructors

Link copied to clipboard
constructor(operation: TrustTokenOperationType, refreshPolicy: TrustTokenRefreshPolicy, issuers: List<String>? = null)

Properties

Link copied to clipboard

Origins of issuers from whom to request tokens or redemption records.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a still valid cached SRR.