Sha256: c2cf4f6533feee0921632748a93b057544cf89f8fd7396658a90d7a1d355b90a
Contents?: true
Size: 665 Bytes
Versions: 7
Compression:
Stored size: 665 Bytes
Contents
require 'stitches' Stitches.configure do |configuration| # Regexp of urls that do not require ApiKeys or valid, versioned mime types configuration.allowlist_regexp = %r{\A/(resque|docs|assets)(\Z|/.*\Z)} # Name of the custom Authorization scheme. See http://www.ietf.org/rfc/rfc2617.txt for details, # but generally should be a string with no spaces or special characters. configuration.custom_http_auth_scheme = "CustomKeyAuth" # Env var that gets the primary key of the authenticated ApiKey # for access in your controllers, so they don't need to re-parse the header # configuration.env_var_to_hold_api_client_primary_key = "YOUR_ENV_VAR" end
Version data entries
7 entries across 7 versions & 1 rubygems