pub fn verify(
token: &str,
secret: &[u8],
expected_issuer: Option<&str>,
) -> Result<JwtClaims, JwtError>Expand description
Verify + decode a JWT. Checks signature, alg, expiry, and issuer (when supplied). Returns the parsed claims or a structured error.