Class: HashAuth::Config
- Inherits:
-
Object
- Object
- HashAuth::Config
- Defined in:
- lib/hash-auth/config.rb
Defined Under Namespace
Classes: Builder
Instance Method Summary collapse
- #cache_store_namespace ⇒ Object
- #default_customer_identifier_param ⇒ Object
- #default_signature_param ⇒ Object
- #default_strategy ⇒ Object
- #domain_auth ⇒ Object
Instance Method Details
#cache_store_namespace ⇒ Object
117 118 119 |
# File 'lib/hash-auth/config.rb', line 117 def cache_store_namespace @cache_store_namespace.to_s || "hash-auth" end |
#default_customer_identifier_param ⇒ Object
105 106 107 |
# File 'lib/hash-auth/config.rb', line 105 def default_customer_identifier_param @default_customer_identifier_param || "customer_id" end |
#default_signature_param ⇒ Object
109 110 111 |
# File 'lib/hash-auth/config.rb', line 109 def default_signature_param @default_signature_param || "signature" end |
#default_strategy ⇒ Object
113 114 115 |
# File 'lib/hash-auth/config.rb', line 113 def default_strategy @default_strategy || HashAuth::Strategies::Default end |
#domain_auth ⇒ Object
121 122 123 |
# File 'lib/hash-auth/config.rb', line 121 def domain_auth @domain_auth || :none end |