Sha256: 330f127f447de992aaa5105e953c2be84c1f006bbf714c6354f840ab7fe8aee5
Contents?: true
Size: 665 Bytes
Versions: 12
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.whitelist_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
12 entries across 12 versions & 1 rubygems