pub fn extract_kid_from_token(token_str: &str) -> Result<KeyId, Error>Expand description
Extract key ID from a PASETO token without verifying signature.
ยงErrors
Returns Error::Token if the token format is invalid or the footer
does not contain a kid claim.