MCPcopy
hub / github.com/authlib/authlib / dumps

Function dumps

authlib/jose/jwk.py:14–20  ·  view source on GitHub ↗
(key, kty=None, **params)

Source from the content-addressed store, hash-verified

12
13
14def dumps(key, kty=None, **params):
15 deprecate("Please use ``JsonWebKey`` directly.")
16 if kty:
17 params["kty"] = kty
18
19 key = JsonWebKey.import_key(key, params)
20 return dict(key)

Callers

nothing calls this directly

Calls 2

deprecateFunction · 0.90
import_keyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…