oauth_provider_engine 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,9 @@ module OauthProviderEngine
24
24
  class_attribute :admin_layout
25
25
  class_attribute :oauth_layout
26
26
 
27
+ # this setting lets you specify the expiry on an access_token
28
+ class_attribute :access_token_expiry
29
+
27
30
  def generate_key(length = 32)
28
31
  Digest::SHA1.hexdigest("--#{Time.now.to_s}--#{rand(1000)}--")[0,length-1]
29
32
  end
@@ -1,3 +1,3 @@
1
1
  module OauthProviderEngine
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: oauth_provider_engine
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Ching