Skip to main content

decode_jwt_claims

Function decode_jwt_claims 

Source
fn decode_jwt_claims(token: &str) -> Option<Value>
Expand description

Decodes a JWT’s claim set (middle segment) without verifying the signature. The token came directly from Casdoor’s token endpoint over TLS, so it is trusted here; the claims are only used to surface identity to the upstream.