Class: Verikloak::BFF::HeaderMismatchError
- Defined in:
- lib/verikloak/bff/errors.rb
Overview
Raised when Authorization and X-Forwarded-Access-Token both exist and differ.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Constructor Details
#initialize(msg = 'authorization and forwarded token mismatch') ⇒ void
50 51 52 |
# File 'lib/verikloak/bff/errors.rb', line 50 def initialize(msg = 'authorization and forwarded token mismatch') super(msg, code: 'header_mismatch', http_status: 401) end |