omniauth-openid-connect 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.travis.yml +6 -0
- data/Gemfile +2 -0
- data/Guardfile +14 -0
- data/LICENSE.txt +22 -0
- data/README.md +34 -0
- data/Rakefile +10 -0
- data/lib/omniauth-openid-connect.rb +1 -0
- data/lib/omniauth/openid_connect.rb +2 -0
- data/lib/omniauth/openid_connect/version.rb +5 -0
- data/lib/omniauth/strategies/openid_connect.rb +112 -0
- data/omniauth-openid-connect.gemspec +35 -0
- data/test/lib/omniauth/openid_connect/version_test.rb +7 -0
- data/test/lib/omniauth/strategies/openid_connect_test.rb +60 -0
- data/test/test_helper.rb +63 -0
- metadata +258 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c06273038d8fe51a789022cd928d7f0edd330811
|
4
|
+
data.tar.gz: da7b7244bb7d098a8842cb9dceb4e357f0a81873
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ce5cb62f58c8fb800649351deb20ce149481dbefa2e875044dd5b27af0208970c6802fac5353c9990138672b5442679d3e4df45bb60e39ff2558baa896027726
|
7
|
+
data.tar.gz: 2deac035829987f8da5ded262db5e453bfd26d88e4a7e3df33629d27bd099bba7e6c2c76dd89522ee257116bdd5f1620c50dd35d437588da5a31b16f4aebef6c
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Guardfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard 'minitest' do
|
5
|
+
# with Minitest::Unit
|
6
|
+
watch(%r|^test/(.*)\/(.*)_test\.rb|)
|
7
|
+
watch(%r|^lib/(.*)\.rb|) { |m| "test/lib/#{m[1]}_test.rb" }
|
8
|
+
watch(%r|^test/test_helper\.rb|) { "test" }
|
9
|
+
end
|
10
|
+
|
11
|
+
guard :bundler do
|
12
|
+
watch('Gemfile')
|
13
|
+
watch(/^.+\.gemspec/)
|
14
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 John Bohn
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# OmniAuth::OpenIDConnect
|
2
|
+
|
3
|
+
OpenID Connect strategy for OmniAuth
|
4
|
+
[![Build Status](https://travis-ci.org/jjbohn/omniauth-openid-connect.png?branch=master)](https://travis-ci.org/jjbohn/omniauth-openid-connect)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/jjbohn/omniauth-openid-connect/badge.png?branch=master)](https://coveralls.io/r/jjbohn/omniauth-openid-connect?branch=master)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/jjbohn/omniauth-openid-connect.png)](https://codeclimate.com/github/jjbohn/omniauth-openid-connect)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
gem 'omniauth-openid-connect'
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install omniauth-openid-connect
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Still quite a bit of work to get this gem ready for real production usage.
|
25
|
+
Hoping to have a good working version by mid March 2014. If you'd like to help
|
26
|
+
out, I'd love some contributions.
|
27
|
+
|
28
|
+
## Contributing
|
29
|
+
|
30
|
+
1. Fork it ( http://github.com/jjbohn/omniauth-openid-connect/fork )
|
31
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
32
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
33
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
34
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "omniauth/openid_connect"
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require 'addressable/uri'
|
2
|
+
require "net/http"
|
3
|
+
require 'omniauth'
|
4
|
+
require "openid_connect"
|
5
|
+
|
6
|
+
module OmniAuth
|
7
|
+
module Strategies
|
8
|
+
class OpenIDConnect
|
9
|
+
include OmniAuth::Strategy
|
10
|
+
|
11
|
+
attr_accessor :access_token
|
12
|
+
|
13
|
+
option :client_options, {
|
14
|
+
identifier: nil,
|
15
|
+
secret: nil,
|
16
|
+
redirect_uri: nil,
|
17
|
+
scheme: "https",
|
18
|
+
host: nil,
|
19
|
+
port: 443,
|
20
|
+
authorization_endpoint: "/authorize",
|
21
|
+
token_endpoint: "/token",
|
22
|
+
userinfo_endpoint: "/userinfo"
|
23
|
+
}
|
24
|
+
option :scope, [:openid]
|
25
|
+
option :response_type, "code"
|
26
|
+
option :state
|
27
|
+
option :response_mode
|
28
|
+
option :display, nil#, [:page, :popup, :touch, :wap]
|
29
|
+
option :prompt, nil#, [:none, :login, :consent, :select_account]
|
30
|
+
option :max_age
|
31
|
+
option :ui_locales
|
32
|
+
option :id_token_hint
|
33
|
+
option :login_hint
|
34
|
+
option :acr_values
|
35
|
+
|
36
|
+
uid { user_info.sub }
|
37
|
+
|
38
|
+
info do
|
39
|
+
{
|
40
|
+
name: user_info.name,
|
41
|
+
email: user_info.email,
|
42
|
+
nickname: user_info.nickname,
|
43
|
+
first_name: user_info.given_name,
|
44
|
+
last_name: user_info.family_name,
|
45
|
+
image: user_info.picture,
|
46
|
+
phone: user_info.phone_number,
|
47
|
+
urls: { website: user_info.website }
|
48
|
+
}
|
49
|
+
end
|
50
|
+
|
51
|
+
extra do
|
52
|
+
{ raw_info: user_info.as_json } # UserInfo#as_json actually returns a hash
|
53
|
+
end
|
54
|
+
|
55
|
+
credentials do
|
56
|
+
{ token: access_token.access_token }
|
57
|
+
end
|
58
|
+
|
59
|
+
def client
|
60
|
+
@client ||= ::OpenIDConnect::Client.new(client_options)
|
61
|
+
end
|
62
|
+
|
63
|
+
def request_phase
|
64
|
+
redirect authorize_uri
|
65
|
+
end
|
66
|
+
|
67
|
+
def callback_phase
|
68
|
+
client.redirect_uri = client_options.redirect_uri
|
69
|
+
client.authorization_code = authorization_code
|
70
|
+
access_token
|
71
|
+
super
|
72
|
+
end
|
73
|
+
|
74
|
+
def authorization_code
|
75
|
+
request.params["code"]
|
76
|
+
end
|
77
|
+
|
78
|
+
private
|
79
|
+
|
80
|
+
def user_info
|
81
|
+
@user_info ||= access_token.userinfo!
|
82
|
+
end
|
83
|
+
|
84
|
+
def access_token
|
85
|
+
@access_token ||= client.access_token!
|
86
|
+
end
|
87
|
+
|
88
|
+
def authorize_uri
|
89
|
+
client.redirect_uri = client_options.redirect_uri
|
90
|
+
client.authorization_uri(
|
91
|
+
response_type: options.response_type,
|
92
|
+
scope: options.scope,
|
93
|
+
nonce: nonce,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
|
97
|
+
def client_options
|
98
|
+
options.client_options
|
99
|
+
end
|
100
|
+
|
101
|
+
def nonce
|
102
|
+
session[:nonce] = SecureRandom.hex(16)
|
103
|
+
end
|
104
|
+
|
105
|
+
def session
|
106
|
+
@env.nil? ? {} : super
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
OmniAuth.config.add_camelization 'openid_connect', 'OpenIDConnect'
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'omniauth/openid_connect/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "omniauth-openid-connect"
|
8
|
+
spec.version = OmniAuth::OpenIDConnect::VERSION
|
9
|
+
spec.authors = ["John Bohn"]
|
10
|
+
spec.email = ["jjbohn@gmail.com"]
|
11
|
+
spec.summary = %q{OpenID Connect Strategy for OmniAuth}
|
12
|
+
spec.description = %q{OpenID Connect Strategy for OmniAuth}
|
13
|
+
spec.homepage = "https://github.com/jjbohn/omniauth-openid-connect"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency 'omniauth', '~> 1.1'
|
22
|
+
spec.add_dependency 'openid_connect', '= 0.7.3'
|
23
|
+
spec.add_dependency 'addressable', '~> 2.3'
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
25
|
+
spec.add_development_dependency "minitest"
|
26
|
+
spec.add_development_dependency "mocha"
|
27
|
+
spec.add_development_dependency "guard"
|
28
|
+
spec.add_development_dependency "guard-minitest"
|
29
|
+
spec.add_development_dependency "guard-bundler"
|
30
|
+
spec.add_development_dependency "rake"
|
31
|
+
spec.add_development_dependency "simplecov"
|
32
|
+
spec.add_development_dependency "pry"
|
33
|
+
spec.add_development_dependency "coveralls"
|
34
|
+
spec.add_development_dependency "faker"
|
35
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
require_relative '../../../test_helper'
|
2
|
+
|
3
|
+
class OmniAuth::Strategies::OpenIDConnectTest < StrategyTestCase
|
4
|
+
def test_client_options_defaults
|
5
|
+
assert_equal "https", strategy.options.client_options.scheme
|
6
|
+
assert_equal 443, strategy.options.client_options.port
|
7
|
+
assert_equal "/authorize", strategy.options.client_options.authorization_endpoint
|
8
|
+
assert_equal "/token", strategy.options.client_options.token_endpoint
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_request_phase
|
12
|
+
expected_redirect = /^https:\/\/example\.com\/authorize\?client_id=1234&nonce=[\w\d]{32}&response_type=code&scope=openid$/
|
13
|
+
strategy.options.client_options.host = "example.com"
|
14
|
+
strategy.expects(:redirect).with(regexp_matches(expected_redirect))
|
15
|
+
strategy.request_phase
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_uid
|
19
|
+
assert_equal user_info.sub, strategy.uid
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_callback_phase
|
23
|
+
code = SecureRandom.hex(16)
|
24
|
+
request.stubs(:params).returns({"code" => code})
|
25
|
+
request.stubs(:path_info).returns("")
|
26
|
+
|
27
|
+
strategy.unstub(:user_info)
|
28
|
+
access_token = stub('OpenIDConnect::AccessToken')
|
29
|
+
access_token.stubs(:access_token)
|
30
|
+
client.expects(:access_token!).returns(access_token)
|
31
|
+
access_token.expects(:userinfo!).returns(user_info)
|
32
|
+
|
33
|
+
strategy.call!({"rack.session" => {}})
|
34
|
+
strategy.callback_phase
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_info
|
38
|
+
info = strategy.info
|
39
|
+
assert_equal user_info.name, info[:name]
|
40
|
+
assert_equal user_info.email, info[:email]
|
41
|
+
assert_equal user_info.nickname, info[:nickname]
|
42
|
+
assert_equal user_info.given_name, info[:first_name]
|
43
|
+
assert_equal user_info.family_name, info[:last_name]
|
44
|
+
assert_equal user_info.picture, info[:image]
|
45
|
+
assert_equal user_info.phone_number, info[:phone]
|
46
|
+
assert_equal({ website: user_info.website }, info[:urls])
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_extra
|
50
|
+
assert_equal({ raw_info: user_info.as_json }, strategy.extra)
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_credentials
|
54
|
+
access_token = stub('OpenIDConnect::AccessToken')
|
55
|
+
access_token.stubs(:access_token).returns(SecureRandom.hex(16))
|
56
|
+
client.expects(:access_token!).returns(access_token)
|
57
|
+
|
58
|
+
assert_equal({ token: access_token.access_token }, strategy.credentials)
|
59
|
+
end
|
60
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
SimpleCov.command_name 'test'
|
3
|
+
SimpleCov.start
|
4
|
+
|
5
|
+
require 'coveralls'
|
6
|
+
Coveralls.wear!
|
7
|
+
|
8
|
+
require 'minitest/autorun'
|
9
|
+
require 'mocha/mini_test'
|
10
|
+
require 'faker'
|
11
|
+
require_relative '../lib/omniauth-openid-connect'
|
12
|
+
|
13
|
+
OmniAuth.config.test_mode = true
|
14
|
+
|
15
|
+
class StrategyTestCase < MiniTest::Test
|
16
|
+
class DummyApp
|
17
|
+
def call(env); end
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :identifier, :secret
|
21
|
+
|
22
|
+
def setup
|
23
|
+
@identifier = "1234"
|
24
|
+
@secret = "1234asdgat3"
|
25
|
+
end
|
26
|
+
|
27
|
+
def client
|
28
|
+
strategy.client
|
29
|
+
end
|
30
|
+
|
31
|
+
def user_info
|
32
|
+
@user_info ||= OpenIDConnect::ResponseObject::UserInfo::OpenID.new(
|
33
|
+
sub: SecureRandom.hex(16),
|
34
|
+
name: Faker::Name.name,
|
35
|
+
email: Faker::Internet.email,
|
36
|
+
nickname: Faker::Internet.user_name,
|
37
|
+
given_name: Faker::Name.first_name,
|
38
|
+
family_name: Faker::Name.last_name,
|
39
|
+
picture: Faker::Internet.url + ".png",
|
40
|
+
phone_number: Faker::PhoneNumber.phone_number,
|
41
|
+
website: Faker::Internet.url,
|
42
|
+
)
|
43
|
+
end
|
44
|
+
|
45
|
+
def request
|
46
|
+
@request ||= stub('Request').tap do |request|
|
47
|
+
request.stubs(:params).returns({})
|
48
|
+
request.stubs(:cookies).returns({})
|
49
|
+
request.stubs(:env).returns({})
|
50
|
+
request.stubs(:scheme).returns({})
|
51
|
+
request.stubs(:ssl?).returns(false)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def strategy
|
56
|
+
@strategy ||= OmniAuth::Strategies::OpenIDConnect.new(DummyApp.new).tap do |strategy|
|
57
|
+
strategy.options.client_options.identifier = @identifier
|
58
|
+
strategy.options.client_options.secret = @secret
|
59
|
+
strategy.stubs(:request).returns(request)
|
60
|
+
strategy.stubs(:user_info).returns(user_info)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
metadata
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-openid-connect
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- John Bohn
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: omniauth
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: openid_connect
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.7.3
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.7.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: addressable
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.5'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mocha
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: guard-minitest
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard-bundler
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: coveralls
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: faker
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
description: OpenID Connect Strategy for OmniAuth
|
210
|
+
email:
|
211
|
+
- jjbohn@gmail.com
|
212
|
+
executables: []
|
213
|
+
extensions: []
|
214
|
+
extra_rdoc_files: []
|
215
|
+
files:
|
216
|
+
- ".gitignore"
|
217
|
+
- ".travis.yml"
|
218
|
+
- Gemfile
|
219
|
+
- Guardfile
|
220
|
+
- LICENSE.txt
|
221
|
+
- README.md
|
222
|
+
- Rakefile
|
223
|
+
- lib/omniauth-openid-connect.rb
|
224
|
+
- lib/omniauth/openid_connect.rb
|
225
|
+
- lib/omniauth/openid_connect/version.rb
|
226
|
+
- lib/omniauth/strategies/openid_connect.rb
|
227
|
+
- omniauth-openid-connect.gemspec
|
228
|
+
- test/lib/omniauth/openid_connect/version_test.rb
|
229
|
+
- test/lib/omniauth/strategies/openid_connect_test.rb
|
230
|
+
- test/test_helper.rb
|
231
|
+
homepage: https://github.com/jjbohn/omniauth-openid-connect
|
232
|
+
licenses:
|
233
|
+
- MIT
|
234
|
+
metadata: {}
|
235
|
+
post_install_message:
|
236
|
+
rdoc_options: []
|
237
|
+
require_paths:
|
238
|
+
- lib
|
239
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
249
|
+
requirements: []
|
250
|
+
rubyforge_project:
|
251
|
+
rubygems_version: 2.2.0
|
252
|
+
signing_key:
|
253
|
+
specification_version: 4
|
254
|
+
summary: OpenID Connect Strategy for OmniAuth
|
255
|
+
test_files:
|
256
|
+
- test/lib/omniauth/openid_connect/version_test.rb
|
257
|
+
- test/lib/omniauth/strategies/openid_connect_test.rb
|
258
|
+
- test/test_helper.rb
|