rack-oauth2 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rack/oauth2/server/authorize.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a63138d02e45db09daf41f5a802ba26a485564c
|
4
|
+
data.tar.gz: 82dcde111cf12fb81d6e032f33e9f87ead5da831
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a0e370b857003e6315f79dae4ccc9b80fe3c75bd044f900f76f1e2975063fe4be7ed27561348161e2244d5b454c19d24c2e621d3b12b5cf0c9e13ff88db7562
|
7
|
+
data.tar.gz: 165efe9fe6d044951818b87219c61d335441e4afa26e74a28bd3662321ffa8616c283efa6af64ecb251184de1e221a81e6ebf5a0f7d485df0e30769fcff425ba
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.3
|
@@ -35,7 +35,7 @@ module Rack
|
|
35
35
|
|
36
36
|
class Request < Abstract::Request
|
37
37
|
attr_required :response_type
|
38
|
-
attr_optional :redirect_uri, :state
|
38
|
+
attr_optional :redirect_uri, :state, :response_mode
|
39
39
|
attr_accessor :verified_redirect_uri
|
40
40
|
|
41
41
|
def initialize(env)
|
@@ -43,6 +43,7 @@ module Rack
|
|
43
43
|
# NOTE: Raise before redirect_uri is saved not to redirect back to unverified redirect_uri.
|
44
44
|
invalid_request! '"client_id" missing' if client_id.blank?
|
45
45
|
@redirect_uri = Util.parse_uri(params['redirect_uri']) if params['redirect_uri']
|
46
|
+
@response_mode = params['response_mode']
|
46
47
|
@state = params['state']
|
47
48
|
end
|
48
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
299
|
version: 1.3.6
|
300
300
|
requirements: []
|
301
301
|
rubyforge_project:
|
302
|
-
rubygems_version: 2.6.
|
302
|
+
rubygems_version: 2.6.13
|
303
303
|
signing_key:
|
304
304
|
specification_version: 4
|
305
305
|
summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type are supported
|