class Touth::Configuration
Attributes
access_token_lifetime[RW]
allow_raise[RW]
client_secret_key[RW]
header_name[RW]
password_field[RW]
Public Class Methods
new()
click to toggle source
# File lib/touth.rb, line 24 def initialize @access_token_lifetime = 60 * (24 * 60 * 60) # 60 days @client_secret_key = '' # use SecureRandom.hex(64) to generate one @password_field = :encrypted_password @header_name = 'X-Access-Token' @allow_raise = false end