Pika::Auth::Strategy
Abstract base class for all authentication strategies.
Subclasses implement authenticate! which raises Pika::UnauthorizedError on failure.
Instance methods
Authenticate the request. Raises Pika::UnauthorizedError if auth fails.
Extract the credential from the request (token, key, decoded basic string, etc.). Returns nil if the credential is absent.