Class: JWTea::Configuration
- Inherits:
-
Object
- Object
- JWTea::Configuration
- Defined in:
- lib/jw_tea.rb
Constant Summary collapse
- DEFAULT_EXPIRES_IN =
seconds (1 hour)
3600
- DEFAULT_ALGORITHM =
'HS256'
Instance Attribute Summary collapse
Instance Attribute Details
#default_algorithm ⇒ Object
33 34 35 |
# File 'lib/jw_tea.rb', line 33 def default_algorithm @default_algorithm ||= DEFAULT_ALGORITHM end |
#default_expires_in ⇒ Object
29 30 31 |
# File 'lib/jw_tea.rb', line 29 def default_expires_in @default_expires_in ||= DEFAULT_EXPIRES_IN end |