Has Scope Policy • AI Agent SDK
has_scope_policy: Whether an operator scope policy is configured.
has_scope_policy
Method
</div>
This is a method of the GatewayConfig class in the config module.
Whether an operator scope policy is configured.
When False (the default), every authenticated client is granted all scopes — preserving the original binary auth behaviour.
Signature
def has_scope_policy() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/config.py at line 1301