Sha256: 624d92bc817b21a98722dd3d8a49b707f65fc24a6fe4a9913995a2b842cfaf56
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
LpTokenAuth.config do |config| # The secret used when encrypting the JWT # config.secret = '<%= secret_key %>' # The number of hours the token is active # default: 7 * 24 # config.expires = 7 * 24 # The encryption algorithm to use # default: HS512 # config.algorithm = 'HS512' # Where to include the token in the response, must be an array, options are # :cookie, :header # default: [:cookie] # config.token_transport = [:cookie] end
Version data entries
3 entries across 3 versions & 1 rubygems