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

Method fmt

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

Source from the content-addressed store, hash-verified

119
120impl Debug for EncodingKey {
121 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
122 f.debug_struct("EncodingKey")
123 .field("family", &self.family)
124 .field("content", &"[redacted]")
125 .finish()
126 }
127}
128
129/// Encode the header and claims given and sign the payload using the algorithm from the header and the key.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected