MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / b64

Function b64

nodedb/tests/auth_jwks_security.rs:94–96  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

92}
93
94fn b64(bytes: &[u8]) -> String {
95 base64::engine::general_purpose::URL_SAFE_NO_PAD.encode(bytes)
96}
97
98/// Forge an unsigned JWT — header + payload + garbage sig. We are testing
99/// the routing / issuer-validation path that runs BEFORE signature verify;

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected