Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/authlib/authlib
/ to_native
Function
to_native
authlib/common/encoding.py:26–29 ·
view source on GitHub ↗
(x, encoding="ascii")
Source
from the content-addressed store, hash-verified
24
25
26
def
to_native(x, encoding=
"ascii"
):
27
if
isinstance(x, str):
28
return
x
29
return
x.decode(encoding)
30
31
32
def
json_loads(s):
Callers
6
encode_client_secret_basic
Function · 0.90
refresh_token
Method · 0.90
wrap
Method · 0.90
generate_id_token
Function · 0.90
__call__
Method · 0.90
prepare
Method · 0.90
Calls
1
decode
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…