Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/authlib/authlib
/ create_string_user_code
Function
create_string_user_code
authlib/oauth2/rfc8628/endpoint.py:159–161 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
157
158
159
def
create_string_user_code():
160
base =
"BCDFGHJKLMNPQRSTVWXZ"
161
return
"-"
.join([generate_token(4, base), generate_token(4, base)])
162
163
164
def
create_digital_user_code():
Callers
1
generate_user_code
Method · 0.85
Calls
1
generate_token
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…