MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / generate_jwt_secret

Function generate_jwt_secret

core/security.py:23–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def generate_jwt_secret() -> str:
24 return secrets.token_urlsafe(48)
25
26
27def is_valid_jwt_secret(secret: Any) -> bool:

Callers 3

initialize_systemFunction · 0.90
update_configMethod · 0.90
prepare_security_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected