lib/gds-sso/config.rb in gds-sso-1.1.1 vs lib/gds-sso/config.rb in gds-sso-1.2.0
- old
+ new
@@ -24,11 +24,14 @@
# default_scope, usually the app, e.g. Publisher
mattr_accessor :default_scope
@@basic_auth_realm = "API Access"
+ mattr_accessor :auth_valid_for
+ @@auth_valid_for = 20 * 3600
+
def self.user_klass
user_model.to_s.constantize
end
end
end
-end
\ No newline at end of file
+end