riddl 0.99.217 → 0.99.218

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e50e2c0810b8d257a762416cc885ca7f744ca30
4
- data.tar.gz: 955760f2f27cb7b020b6b58b863ca6ede7629c71
3
+ metadata.gz: e2ea540548ddd792ec444fec0648dc10c0ed8cfb
4
+ data.tar.gz: 72eb21e4bc237319f5734f4247760404c11279f0
5
5
  SHA512:
6
- metadata.gz: b594d20e57e17c71fa73f74d30f654fcddf7b4a89ccbee93b512b79a18fb17c93bcaf819ea9ec160456883140f1c9690ee42813a3a8da8eea14b81f319ff2c69
7
- data.tar.gz: 6b2f13d927ff84be0fc26c4ded893db0aff9e40005bd8b7bc85b466cd44474b7be2fb87fc5e387109634b256250edec9f183da398c5d6628512d07bc48e5a18c
6
+ metadata.gz: 1fdc06a909c934f12169de63e9c30d0182c971daebe3ff42b1eb8be8d90ea4dc6b3780b7db663a92e7947f23864b40c5ce3857ae2c58d41353fa44eb79a5d3ec
7
+ data.tar.gz: 58b256db07facc0bafa349b8c004fa89ee2a89d87112665cdfe4cb80cc79508a2d5eb0c6dbd273f752062760541df1f216165a20c9aa27266152f5176b091f20
@@ -76,7 +76,7 @@ module Riddl
76
76
  run VerifyIdentity, access_tokens, refresh_tokens, client_id, client_secret if post 'verify_in'
77
77
  end
78
78
  on resource 'token' do
79
- run RefreshToken, access_tokens, refresh_tokens if post 'refresh_token_in'
79
+ run RefreshToken, access_tokens, refresh_tokens, client_id, client_secret if post 'refresh_token_in'
80
80
  end
81
81
  on resource 'revoke' do
82
82
  run RevokeTokenFlow, access_tokens, refresh_tokens if get 'revoke_token_in'
@@ -158,7 +158,7 @@ module Riddl
158
158
  old_token = refresh_tokens[refresh_token]
159
159
  user = access_tokens.delete old_token
160
160
 
161
- token = OAuth2Fed::make_access_token(client_id, client_id + ':' + client_secret)
161
+ token = Riddl::Utils::OAuth2::Helper::make_access_token(client_id, client_id + ':' + client_secret)
162
162
 
163
163
  refresh_tokens[refresh_token] = token
164
164
  access_tokens[token] = user
data/riddl.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.217"
3
+ s.version = "0.99.218"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.217
4
+ version: 0.99.218
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen 'eTM' Mangler