pub fn header_kid(token: &str) -> Result<Option<String>, JwtError>
Extract the kid from a JWT’s JOSE header without verifying the signature.
kid
Returns Ok(None) if the header has no kid field.
Ok(None)