Module: Rack::Auth::Signature::Helpers::Configuration Private

Included in:
Rack::Auth::Signature::Helpers
Defined in:
lib/rack/auth/signature/helpers.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Handles loading and merging of middleware configuration.

Configuration can come from three sources (in order of precedence):

  1. Options passed directly to the middleware constructor

  2. A YAML configuration file (via :config_path)

  3. DEFAULT_OPTIONS

Class Method Summary collapse

Class Method Details

.default_covered_componentsArray<String>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the default covered components for signature verification.

Returns:



76
77
78
# File 'lib/rack/auth/signature/helpers.rb', line 76

def default_covered_components
  Linzer::Options::DEFAULT[:covered_components]
end