Module: AgentAdmit
- Defined in:
- lib/agentadmit/config.rb,
lib/agentadmit.rb,
lib/agentadmit/railtie.rb,
lib/agentadmit/version.rb,
lib/agentadmit/webhook.rb,
lib/agentadmit/middleware.rb,
lib/agentadmit/alerts_client.rb,
lib/agentadmit/tokens_client.rb,
lib/agentadmit/scope_enforcement.rb,
lib/agentadmit/introspection_client.rb
Overview
IMPORTANT: AgentAdmit uses MANDATORY hosted introspection. All token validation goes through api.agentadmit.com. There is no self-hosted mode. No local JWT validation. No bypass. This is required for security, audit logging, and scope enforcement.
Defined Under Namespace
Modules: ScopeEnforcement, Webhook Classes: AlertsClient, Config, ConfigurationError, Error, InsufficientScopeError, IntrospectionClient, IntrospectionError, InvalidTokenError, Middleware, Railtie, RateLimitError, TokensClient, WebhookSignatureError
Constant Summary collapse
- VERIFY_ERROR_CODES =
Error codes /api/v1/verify returns with HTTP 200 and active: false (insufficient_scope arrives with active: true — token valid, scope not granted).
%w[ invalid_token token_expired token_revoked connection_revoked connection_expired environment_mismatch insufficient_scope ].freeze
- VERSION =
"1.1.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
80 81 82 |
# File 'lib/agentadmit.rb', line 80 def configuration @configuration end |