Check that PrivateTokenParams are included in the basic Private Token operations on 'fetch'
Sending request:
fetch('https://trusttoken.test', {
privateToken: {
version: 1,
operation: 'token-request'
}
});
Included privateTokenParams in request: {"operation":"Issuance","refreshPolicy":"UseCached"}
Sending request:
fetch('https://trusttoken.test', {
privateToken: {
version: 1,
operation: 'token-redemption'
}
});
Included privateTokenParams in request: {"operation":"Redemption","refreshPolicy":"UseCached"}
Sending request:
fetch('https://destination.test', {
privateToken: {
version: 1,
operation: 'send-redemption-record',
issuers: ['https://issuer.test']
}
});
Included privateTokenParams in request: {"operation":"Signing","refreshPolicy":"UseCached","issuers":["https://issuer.test"]}