Skip to main content

seat_fingerprint

Function seat_fingerprint 

Source
pub fn seat_fingerprint(
    provider: OAuthProviderId,
    account_id: &str,
) -> Option<String>
Expand description

Stable, opaque seat fingerprint: hex SHA-256 over a domain tag, the provider id and the provider’s FULL account id (e.g. the Codex chatgpt_account_id claim). Deterministic across processes and hosts, so a consumer holding a vended token can derive the same value from that token’s claim and compare it with AccountSummary::seat_fingerprint before spending on the listed seat. Never derived from token material.