MCPcopy Create free account
hub / github.com/Keats/jsonwebtoken / try_from

Method try_from

src/decoding.rs:247–249  ·  view source on GitHub ↗
(jwk: &Jwk)

Source from the content-addressed store, hash-verified

245 type Error = crate::errors::Error;
246
247 fn try_from(jwk: &Jwk) -> Result<Self> {
248 Self::from_jwk(jwk)
249 }
250}
251
252/// Decode and validate a JWT

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected