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

Method fmt

src/decoding.rs:62–71  ·  view source on GitHub ↗
(&self, f: &mut Formatter<'_>)

Source from the content-addressed store, hash-verified

60
61impl Debug for DecodingKeyKind {
62 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
63 match self {
64 Self::SecretOrDer(_) => f.debug_tuple("SecretOrDer").field(&"[redacted]").finish(),
65 Self::RsaModulusExponent { .. } => f
66 .debug_struct("RsaModulusExponent")
67 .field("n", &"[redacted]")
68 .field("e", &"[redacted]")
69 .finish(),
70 }
71 }
72}
73
74/// All the different kind of keys we can use to decode a JWT.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected