MCPcopy
hub / github.com/authlib/authlib / as_dict

Method as_dict

authlib/jose/rfc7517/key_set.py:10–12  ·  view source on GitHub ↗

Represent this key as a dict of the JSON Web Key Set.

(self, is_private=False, **params)

Source from the content-addressed store, hash-verified

8 self.keys = keys
9
10 def as_dict(self, is_private=False, **params):
11 """Represent this key as a dict of the JSON Web Key Set."""
12 return {"keys": [k.as_dict(is_private, **params) for k in self.keys]}
13
14 def as_json(self, is_private=False, **params):
15 """Represent this key set as a JSON string."""

Callers 2

as_jsonMethod · 0.95
test_jwk_key_setFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_jwk_key_setFunction · 0.76