Module: Steppe::Auth
- Defined in:
- lib/steppe/auth.rb,
lib/steppe/auth/basic.rb,
lib/steppe/auth/bearer.rb
Overview
Authentication and authorization module for Steppe endpoints. Provides security schemes for protecting API endpoints and validating access tokens. Implements common security schemes supported by OpenAPI spec
Defined Under Namespace
Constant Summary collapse
- WWW_AUTHENTICATE =
'www-authenticate'- HTTP_AUTHORIZATION =
'HTTP_AUTHORIZATION'- SecuritySchemeInterface =
Interface that security schemes must implement. Required methods:
-
name: Returns the security scheme name
-
handle: Processes authentication/authorization for a connection
-
Types::Interface[ :name, :handle, :to_openapi ]