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

Function deserialize_unknown_key_algorithm

src/jwk.rs:733–738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

731
732 #[test]
733 fn deserialize_unknown_key_algorithm() {
734 let key_alg_json = json!("");
735 let key_alg_result: KeyAlgorithm =
736 serde_json::from_value(key_alg_json).expect("Could not deserialize json");
737 assert_eq!(key_alg_result, KeyAlgorithm::UNKNOWN_ALGORITHM);
738 }
739
740 #[test]
741 fn deserialize_unknown_kty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected