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 +4 -4
- data/lib/ruby/riddl/utils/oauth2-univie.rb +2 -2
- data/riddl.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2ea540548ddd792ec444fec0648dc10c0ed8cfb
|
4
|
+
data.tar.gz: 72eb21e4bc237319f5734f4247760404c11279f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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