Expand description
Verifying an OIDC ID token on the client: an owner’s client checks, by itself, the sign-in a join request rests on, without trusting the cache server.
Structs§
- KeySet
- The usable signing keys of an issuer’s JWKS document.
- Signed
In - What a verified ID token says about the person.
Constants§
- MAX_
TOKEN_ BYTES - Largest token accepted.
Functions§
- verify
- Verifies
token: an RS256, ES256 or EdDSA signature by one ofkeys,issexactlyissuer, issued toaudience(audholds it, andazpis it whenaudhas several members orazpis present), andiatat mostmax_age_secsbeforenow. An expired token passes: the question is what the person signed then, not whether the token still opens a session. Every refusal is a short reason.