MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / get_expected_auth_token

Function get_expected_auth_token

src/web/auth.py:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34
35def get_expected_auth_token() -> str:
36 settings = get_settings()
37 password = settings.webui_access_password.get_secret_value()
38 secret_key = settings.webui_secret_key.get_secret_value()
39 return build_auth_token(password, secret_key)
40
41
42def is_default_security_config_active() -> bool:

Callers 2

is_request_authenticatedFunction · 0.85

Calls 2

get_settingsFunction · 0.85
build_auth_tokenFunction · 0.85

Tested by

no test coverage detected