DecaneDocs
ReferenceToken claims
Reference

Token claims

Decane access tokens are ES256-signed JWTs carrying uid, sub, project_id, jti, iat, and exp. They set no iss or aud — project_id is the audience-equivalent, which is why the appId check exists. Verification normalises them into DecaneClaims:

FieldJWT claimMeaning
userIduidStable Decane user id (a UUID). The value to key your own records off. Required — a verified token without it is rejected.
subjectsubHashed subject — an HMAC of the auth-provider identity. Decane stores no raw identity, so this is not reversible to an email.
projectIdproject_idThe project (app) the token was issued for. Checked against appId when configured.
tokenIdjtiUnique per issued token — useful for your own replay bookkeeping.
issuedAt / expiresAtiat / expSeconds since epoch. Expiry is enforced during verification.
raw—The full verified payload, for any claim not surfaced above.