pub fn id_token_claims(
id_token: &str,
issuers: &[&str],
client_id: &str,
now: i64,
) -> Result<IdTokenClaims, String>Expand description
Read an ID token’s claims. It came straight from the token endpoint over TLS, so per OIDC Core §3.1.3.7 (6) the TLS server check stands in for the signature; the issuer, audience and expiry are still checked. Errors never quote the token.