-
public final class TrustTokenParamsDetermines 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final TrustTokenOperationTypetypeprivate final StringrefreshPolicyprivate final List<String>issuers
-
Constructor Summary
Constructors Constructor Description TrustTokenParams(TrustTokenOperationType type, String refreshPolicy, List<String> issuers)
-
Method Summary
Modifier and Type Method Description final TrustTokenOperationTypecomponent1()final Stringcomponent2()final List<String>component3()final TrustTokenParamscopy(TrustTokenOperationType type, String refreshPolicy, List<String> issuers)final TrustTokenOperationTypegetType()final StringgetRefreshPolicy()Only set for "token-redemption" type and determine whether to request a fresh SRR or use a still valid cached SRR. final List<String>getIssuers()Origins of issuers from whom to request tokens or redemption records. -
-
Constructor Detail
-
TrustTokenParams
TrustTokenParams(TrustTokenOperationType type, String refreshPolicy, List<String> issuers)
-
-
Method Detail
-
component1
final TrustTokenOperationType component1()
-
component2
final String component2()
-
component3
final List<String> component3()
-
copy
final TrustTokenParams copy(TrustTokenOperationType type, String refreshPolicy, List<String> issuers)
-
getType
final TrustTokenOperationType getType()
-
getRefreshPolicy
final String getRefreshPolicy()
Only set for "token-redemption" type and determine whether to request a fresh SRR or use a still valid cached SRR.
-
getIssuers
final List<String> getIssuers()
Origins of issuers from whom to request tokens or redemption records.
-
-
-
-