Class: Portage::Ucp::UnconfiguredAuthenticator
- Inherits:
-
Authenticator
- Object
- Authenticator
- Portage::Ucp::UnconfiguredAuthenticator
- Defined in:
- lib/portage/ucp/authenticator.rb
Overview
The default when no authenticator is configured: rejects every call it is asked to authenticate. Never permissive by default (§9).
Instance Method Summary collapse
Instance Method Details
#call(_server_context) ⇒ Object
21 22 23 24 |
# File 'lib/portage/ucp/authenticator.rb', line 21 def call(_server_context) raise Portage::Ucp::AuthenticationError, "no authenticator configured — mutating capabilities reject all calls until one is set" end |