TrustTokenParams

data class TrustTokenParams(type: TrustTokenOperationType, refreshPolicy: String, issuers: List<String>?)

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
Link copied to clipboard
fun TrustTokenParams(type: TrustTokenOperationType, refreshPolicy: String, issuers: List<String>? = null)

Properties

issuers
Link copied to clipboard
val issuers: List<String>? = null
Origins of issuers from whom to request tokens or redemption records.
refreshPolicy
Link copied to clipboard
val refreshPolicy: String
Only set for "token-redemption" type and determine whether to request a fresh SRR or use a still valid cached SRR.
type
Link copied to clipboard
val type: TrustTokenOperationType

Sources

jvm source
Link copied to clipboard