MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / verify_api_key

Method verify_api_key

src/core/auth.py:16–18  ·  view source on GitHub ↗

Verify API key

(api_key: str)

Source from the content-addressed store, hash-verified

14
15 @staticmethod
16 def verify_api_key(api_key: str) -> bool:
17 """Verify API key"""
18 return api_key == config.api_key
19
20 @staticmethod
21 def verify_admin(username: str, password: str) -> bool:

Callers 3

verify_api_key_headerFunction · 0.80
verify_api_key_flexibleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected