MCPcopy
hub / github.com/authlib/authlib / prepare_key

Function prepare_key

authlib/jose/rfc7516/jwe.py:762–765  ·  view source on GitHub ↗
(alg, header, key)

Source from the content-addressed store, hash-verified

760
761
762def prepare_key(alg, header, key):
763 if callable(key):
764 key = key(header, None)
765 return alg.prepare_key(key)

Callers 3

serialize_compactMethod · 0.85
serialize_jsonMethod · 0.85
deserialize_compactMethod · 0.85

Calls 1

prepare_keyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…