The Private State Tokens API relies on a two-party system:
- Issuers: These are providers who issue tokens containing information about a browser's level of trust. For instance, a user completing a CAPTCHA might increase their trust level with the issuer. If you're interested in becoming a Private State Tokens issuer, you'll need to complete the Issuer registration process.
- Redeemers: These are websites or third-party embed owners who require a trust signal for actions like logins or payment transactions. They redeem the tokens issued to users by an issuer.
Here's a sample flow of issuance and redemption of Private State Tokens:
ISSUANCE
|
REDEMPTION
|
Here's how the Private State Tokens API works in this scenario:
- Issuance: When a user logs in or interacts with a website (SiteA) in a way that builds trust (for example, browsing history, account activity), SiteA can issue a Private State Token. This token represents the user's trust level without revealing any personal details.
- Redemption: When the user proceeds to a checkout or payment page (potentially on a different site, SiteB), SiteB can request to redeem the token. The browser securely transmits the token to SiteB.
- Anti-fraud confirmation: SiteB uses the token to assess the user's trust level, helping to prevent fraudulent transactions. The token itself doesn't contain personal data, preserving user privacy.
This process enables websites to enhance security and combat fraud while respecting user privacy.
Learn more about how the Private State Tokens API works in the developer documentation.