MCPcopy
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
159def create_string_user_code():
160 base = "BCDFGHJKLMNPQRSTVWXZ"
161 return "-".join([generate_token(4, base), generate_token(4, base)])
162
163
164def create_digital_user_code():

Callers 1

generate_user_codeMethod · 0.85

Calls 1

generate_tokenFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…