assert_gateway_secret_strong
Function
This function is defined in the protocols module.Fail closed if
value is a known-weak/placeholder gateway secret.
Signature
Parameters
Optional[str]
required
The resolved secret to validate.
Exceptions
WeakGatewaySecretError
WeakGatewaySecretError
If
value matches a known-weak value.Uses
is_weak_secretWeakGatewaySecretError
Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 2062
