Skip to main content

header_kid

Function header_kid 

Source
pub fn header_kid(token: &str) -> Result<Option<String>, JwtError>
Expand description

Extract the kid from a JWT’s JOSE header without verifying the signature.

Returns Ok(None) if the header has no kid field.