Function jwtk::verify_only
source · [−]pub fn verify_only<ExtraClaims: DeserializeOwned>(
token: &str,
k: &dyn VerificationKey
) -> Result<HeaderAndClaims<ExtraClaims>>
Expand description
Decode and verify token, but do not check exp
and nbf
.
The alg
field is still checked.