Sha256: 4ba38a090b0d277464f0dfc1f136bff25e6bb10de1c8c3ea70aac33cb8466fec
Contents?: true
Size: 528 Bytes
Versions: 17
Compression:
Stored size: 528 Bytes
Contents
module GDS module SSO module Config # Name of the User class mattr_accessor :user_model @@user_model = "User" # OAuth ID mattr_accessor :oauth_id # OAuth Secret mattr_accessor :oauth_secret # Location of the OAuth server mattr_accessor :oauth_root_url @@oauth_root_url = "http://localhost:3001" mattr_accessor :auth_valid_for @@auth_valid_for = 20 * 3600 def self.user_klass user_model.to_s.constantize end end end end
Version data entries
17 entries across 17 versions & 1 rubygems