Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jpadilla/pyjwt
/ to_jwk
Method
to_jwk
jwt/algorithms.py:361–361 ·
view source on GitHub ↗
(key_obj: str | bytes, as_dict: Literal[True])
Source
from the content-addressed store, hash-verified
359
@overload
360
@staticmethod
361
def
to_jwk(key_obj: str | bytes, as_dict: Literal[True]) -> JWKDict: ...
362
363
@overload
364
@staticmethod
Callers
1
test_hmac_to_jwk_returns_correct_values
Method · 0.95
Calls
3
base64url_encode
Function · 0.85
force_bytes
Function · 0.85
decode
Method · 0.45
Tested by
1
test_hmac_to_jwk_returns_correct_values
Method · 0.76