MCPcopy Index your code
hub / github.com/diffgram/diffgram / validate_security_token

Function validate_security_token

shared/regular/regular_input.py:205–208  ·  view source on GitHub ↗
(security_token, variable)

Source from the content-addressed store, hash-verified

203
204
205def validate_security_token(security_token, variable):
206 if hmac.compare_digest(security_token, variable):
207 return True
208 return False
209
210
211def validate_permission(permission, variable):

Callers 1

input_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected