Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keats/jsonwebtoken
/ try_from
Method
try_from
src/decoding.rs:256–258 ·
view source on GitHub ↗
(jwk: &Jwk)
Source
from the content-addressed store, hash-verified
254
type Error = crate::errors::Error;
255
256
fn try_from(jwk: &Jwk) -> Result<Self> {
257
Self::from_jwk(jwk)
258
}
259
}
260
261
/// Decode and validate a JWT
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected