omniauth-openid 1.0.1 → 2.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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +55 -0
- data/CODE_OF_CONDUCT.md +135 -0
- data/CONTRIBUTING.md +132 -0
- data/LICENSE.txt +23 -0
- data/README.md +420 -23
- data/SECURITY.md +42 -0
- data/lib/omniauth/openid/version.rb +8 -0
- data/lib/omniauth/strategies/open_id.rb +73 -46
- data/lib/omniauth-openid/version.rb +16 -3
- data/lib/omniauth-openid.rb +14 -2
- data.tar.gz.sig +4 -0
- metadata +211 -91
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
- data/.gitignore +0 -18
- data/.rspec +0 -2
- data/.yardopts +0 -4
- data/Gemfile +0 -20
- data/Gemfile.lock +0 -82
- data/Guardfile +0 -9
- data/LICENSE +0 -19
- data/Rakefile +0 -6
- data/examples/sinatra.rb +0 -28
- data/lib/omniauth/strategies/steam.rb +0 -55
- data/omniauth-openid.gemspec +0 -27
- data/spec/omniauth/strategies/open_id_spec.rb +0 -91
- data/spec/spec_helper.rb +0 -13
@@ -1,6 +1,6 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
1
|
+
require "omniauth"
|
2
|
+
require "rack/openid"
|
3
|
+
require "openid/store/memory"
|
4
4
|
|
5
5
|
module OmniAuth
|
6
6
|
module Strategies
|
@@ -10,40 +10,65 @@ module OmniAuth
|
|
10
10
|
include OmniAuth::Strategy
|
11
11
|
|
12
12
|
AX = {
|
13
|
-
:
|
14
|
-
:
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
13
|
+
email: "http://axschema.org/contact/email",
|
14
|
+
name: "http://axschema.org/namePerson",
|
15
|
+
nickname: "http://axschema.org/namePerson/friendly",
|
16
|
+
first_name: "http://axschema.org/namePerson/first",
|
17
|
+
last_name: "http://axschema.org/namePerson/last",
|
18
|
+
city: "http://axschema.org/contact/city/home",
|
19
|
+
state: "http://axschema.org/contact/state/home",
|
20
|
+
website: "http://axschema.org/contact/web/default",
|
21
|
+
image: "http://axschema.org/media/image/aspect11",
|
22
22
|
}
|
23
23
|
|
24
24
|
option :name, :open_id
|
25
|
-
option :required, [AX[:email], AX[:name], AX[:first_name], AX[:last_name],
|
26
|
-
option :optional, [AX[:nickname], AX[:city], AX[:state], AX[:website], AX[:image],
|
25
|
+
option :required, [AX[:email], AX[:name], AX[:first_name], AX[:last_name], "email", "fullname"]
|
26
|
+
option :optional, [AX[:nickname], AX[:city], AX[:state], AX[:website], AX[:image], "postcode", "nickname"]
|
27
|
+
option :immediate, false
|
28
|
+
option :trust_root, proc { |root_uri| nil }
|
27
29
|
option :store, ::OpenID::Store::Memory.new
|
28
30
|
option :identifier, nil
|
29
|
-
option :identifier_param,
|
31
|
+
option :identifier_param, "openid_url"
|
32
|
+
option :trust_root, nil
|
30
33
|
|
31
34
|
def dummy_app
|
32
|
-
lambda{|env|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
35
|
+
lambda { |env|
|
36
|
+
req = Rack::Request.new(env)
|
37
|
+
root_uri = "#{req.scheme}://#{req.host_with_port}/"
|
38
|
+
trust_root = if options.trust_root
|
39
|
+
if options.trust_root.respond_to?(:call)
|
40
|
+
options.trust_root.call(root_uri)
|
41
|
+
else
|
42
|
+
options.trust_root
|
43
|
+
end
|
44
|
+
else
|
45
|
+
%r{^(https?://[^/]+)}.match(callback_url) { |m| m[1] }
|
46
|
+
end
|
47
|
+
|
48
|
+
[
|
49
|
+
401,
|
50
|
+
{
|
51
|
+
"WWW-Authenticate" => Rack::OpenID.build_header(
|
52
|
+
identifier: identifier,
|
53
|
+
return_to: callback_url,
|
54
|
+
trust_root: trust_root,
|
55
|
+
required: options.required,
|
56
|
+
optional: options.optional,
|
57
|
+
method: "post",
|
58
|
+
immediate: options.immediate,
|
59
|
+
),
|
60
|
+
},
|
61
|
+
[],
|
62
|
+
]
|
63
|
+
}
|
39
64
|
end
|
40
65
|
|
41
66
|
def identifier
|
42
67
|
i = options.identifier || request.params[options.identifier_param.to_s]
|
43
|
-
i = nil if i ==
|
68
|
+
i = nil if i == ""
|
44
69
|
i
|
45
70
|
end
|
46
|
-
|
71
|
+
|
47
72
|
def request_phase
|
48
73
|
identifier ? start : get_identifier
|
49
74
|
end
|
@@ -51,7 +76,7 @@ module OmniAuth
|
|
51
76
|
def start
|
52
77
|
openid = Rack::OpenID.new(dummy_app, options[:store])
|
53
78
|
response = openid.call(env)
|
54
|
-
case env[
|
79
|
+
case env["rack.openid.response"]
|
55
80
|
when Rack::OpenID::MissingResponse, Rack::OpenID::TimeoutResponse
|
56
81
|
fail!(:connection_failed)
|
57
82
|
else
|
@@ -60,9 +85,9 @@ module OmniAuth
|
|
60
85
|
end
|
61
86
|
|
62
87
|
def get_identifier
|
63
|
-
f = OmniAuth::Form.new(:
|
64
|
-
f.label_field(
|
65
|
-
f.input_field(
|
88
|
+
f = OmniAuth::Form.new(title: "OpenID Authentication")
|
89
|
+
f.label_field("OpenID Identifier", options.identifier_param)
|
90
|
+
f.input_field("url", options.identifier_param)
|
66
91
|
f.to_response
|
67
92
|
end
|
68
93
|
|
@@ -73,7 +98,7 @@ module OmniAuth
|
|
73
98
|
end
|
74
99
|
|
75
100
|
extra do
|
76
|
-
{
|
101
|
+
{"response" => openid_response}
|
77
102
|
end
|
78
103
|
|
79
104
|
def callback_phase
|
@@ -83,9 +108,9 @@ module OmniAuth
|
|
83
108
|
|
84
109
|
def openid_response
|
85
110
|
unless @openid_response
|
86
|
-
openid = Rack::OpenID.new(lambda{|env| [200,{},[]]}, options[:store])
|
111
|
+
openid = Rack::OpenID.new(lambda { |env| [200, {}, []] }, options[:store])
|
87
112
|
openid.call(env)
|
88
|
-
@openid_response = env.delete(
|
113
|
+
@openid_response = env.delete("rack.openid.response")
|
89
114
|
end
|
90
115
|
@openid_response
|
91
116
|
end
|
@@ -94,29 +119,31 @@ module OmniAuth
|
|
94
119
|
sreg = ::OpenID::SReg::Response.from_success_response(openid_response)
|
95
120
|
return {} unless sreg
|
96
121
|
{
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
}.reject{|k,v| v.nil? || v ==
|
122
|
+
"email" => sreg["email"],
|
123
|
+
"name" => sreg["fullname"],
|
124
|
+
"location" => sreg["postcode"],
|
125
|
+
"nickname" => sreg["nickname"],
|
126
|
+
}.reject { |k, v| v.nil? || v == "" }
|
102
127
|
end
|
103
128
|
|
104
129
|
def ax_user_info
|
105
130
|
ax = ::OpenID::AX::FetchResponse.from_success_response(openid_response)
|
106
131
|
return {} unless ax
|
107
132
|
{
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
}.
|
133
|
+
"email" => ax.get_single(AX[:email]),
|
134
|
+
"first_name" => ax.get_single(AX[:first_name]),
|
135
|
+
"last_name" => ax.get_single(AX[:last_name]),
|
136
|
+
"name" => (ax.get_single(AX[:name]) || [ax.get_single(AX[:first_name]), ax.get_single(AX[:last_name])].join(" ")).strip,
|
137
|
+
"location" => ("#{ax.get_single(AX[:city])}, #{ax.get_single(AX[:state])}" if Array(ax.get_single(AX[:city])).any? && Array(ax.get_single(AX[:state])).any?),
|
138
|
+
"nickname" => ax.get_single(AX[:nickname]),
|
139
|
+
"urls" => ({"Website" => Array(ax.get_single(AX[:website])).first} if Array(ax.get_single(AX[:website])).any?),
|
140
|
+
}.each_with_object({}) { |(k, v), h|
|
141
|
+
h[k] = Array(v).first
|
142
|
+
}.reject { |k, v| v.nil? || v == "" }
|
116
143
|
end
|
117
144
|
end
|
118
145
|
end
|
119
146
|
end
|
120
147
|
|
121
|
-
OmniAuth.config.add_camelization
|
122
|
-
OmniAuth.config.add_camelization
|
148
|
+
OmniAuth.config.add_camelization("openid", "OpenID")
|
149
|
+
OmniAuth.config.add_camelization("open_id", "OpenID")
|
@@ -1,5 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
# DEPRECATED
|
2
|
+
# TODO[v3]: Remove this file entirely with v3 release.
|
3
|
+
# :nocov:
|
4
|
+
unless defined?(OmniAuth::Identity::Version::VERSION)
|
5
|
+
# external gems
|
6
|
+
require "version_gem"
|
7
|
+
|
8
|
+
# this library's version
|
9
|
+
require "omniauth/openid/version"
|
10
|
+
|
11
|
+
# Configure version before loading the rest of the library
|
12
|
+
OmniAuth::OpenID::Version.class_eval do
|
13
|
+
extend VersionGem::Basic
|
4
14
|
end
|
15
|
+
|
16
|
+
warn "[DEPRECATION][omniauth-openid v2] Change `require 'omniauth-openid/version'` to `require 'omniauth/openid/version'`. Support for `require 'omniauth-openid/version'` will be removed in v3."
|
5
17
|
end
|
18
|
+
# :nocov:
|
data/lib/omniauth-openid.rb
CHANGED
@@ -1,2 +1,14 @@
|
|
1
|
-
|
2
|
-
require
|
1
|
+
# external gems
|
2
|
+
require "version_gem"
|
3
|
+
require "rexml"
|
4
|
+
|
5
|
+
# this library's version
|
6
|
+
require "omniauth/openid/version"
|
7
|
+
|
8
|
+
# Configure version before loading the rest of the library
|
9
|
+
OmniAuth::OpenID::Version.class_eval do
|
10
|
+
extend VersionGem::Basic
|
11
|
+
end
|
12
|
+
|
13
|
+
# This library
|
14
|
+
require "omniauth/strategies/open_id"
|
data.tar.gz.sig
ADDED
metadata
CHANGED
@@ -1,166 +1,286 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-openid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
7
|
+
- Peter Boling
|
8
8
|
- Michael Bleigh
|
9
9
|
- Erik Michaels-Ober
|
10
|
-
|
11
|
-
bindir:
|
12
|
-
cert_chain:
|
13
|
-
|
10
|
+
- Tom Milewski
|
11
|
+
bindir: exe
|
12
|
+
cert_chain:
|
13
|
+
- |
|
14
|
+
-----BEGIN CERTIFICATE-----
|
15
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
16
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
17
|
+
A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
|
18
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
19
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
|
20
|
+
uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
|
21
|
+
LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
|
22
|
+
mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
|
23
|
+
coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
|
24
|
+
FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
|
25
|
+
yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
|
26
|
+
to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
|
27
|
+
qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
|
28
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
|
29
|
+
HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
30
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
31
|
+
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
32
|
+
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
33
|
+
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
34
|
+
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
35
|
+
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
36
|
+
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
37
|
+
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
38
|
+
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
39
|
+
L9nRqA==
|
40
|
+
-----END CERTIFICATE-----
|
41
|
+
date: 2025-06-08 00:00:00.000000000 Z
|
14
42
|
dependencies:
|
15
43
|
- !ruby/object:Gem::Dependency
|
16
44
|
name: omniauth
|
17
|
-
requirement:
|
18
|
-
none: false
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
19
46
|
requirements:
|
20
|
-
- -
|
47
|
+
- - ">="
|
21
48
|
- !ruby/object:Gem::Version
|
22
|
-
version: '1.
|
49
|
+
version: '1.1'
|
23
50
|
type: :runtime
|
24
51
|
prerelease: false
|
25
|
-
version_requirements:
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.1'
|
26
57
|
- !ruby/object:Gem::Dependency
|
27
58
|
name: rack-openid
|
28
|
-
requirement:
|
29
|
-
none: false
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
30
60
|
requirements:
|
31
|
-
- - ~>
|
61
|
+
- - "~>"
|
32
62
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
63
|
+
version: '1.4'
|
34
64
|
type: :runtime
|
35
65
|
prerelease: false
|
36
|
-
version_requirements:
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.4'
|
37
71
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
39
|
-
requirement:
|
40
|
-
|
72
|
+
name: ruby-openid
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.1'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 2.1.8
|
81
|
+
type: :runtime
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
84
|
requirements:
|
42
|
-
- - ~>
|
85
|
+
- - "~>"
|
43
86
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
87
|
+
version: '2.1'
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 2.1.8
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: version_gem
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '1.1'
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 1.1.8
|
101
|
+
type: :runtime
|
102
|
+
prerelease: false
|
103
|
+
version_requirements: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '1.1'
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.1.8
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rack-session
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1'
|
45
118
|
type: :development
|
46
119
|
prerelease: false
|
47
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1'
|
48
125
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
50
|
-
requirement:
|
51
|
-
none: false
|
126
|
+
name: rack-test
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
52
128
|
requirements:
|
53
|
-
- - ~>
|
129
|
+
- - "~>"
|
54
130
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
131
|
+
version: '2.2'
|
56
132
|
type: :development
|
57
133
|
prerelease: false
|
58
|
-
version_requirements:
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.2'
|
59
139
|
- !ruby/object:Gem::Dependency
|
60
|
-
name:
|
61
|
-
requirement:
|
62
|
-
none: false
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
63
142
|
requirements:
|
64
|
-
- - ~>
|
143
|
+
- - "~>"
|
65
144
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
145
|
+
version: '13'
|
67
146
|
type: :development
|
68
147
|
prerelease: false
|
69
|
-
version_requirements:
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '13'
|
70
153
|
- !ruby/object:Gem::Dependency
|
71
154
|
name: rspec
|
72
|
-
requirement:
|
73
|
-
none: false
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
74
156
|
requirements:
|
75
|
-
- - ~>
|
157
|
+
- - "~>"
|
76
158
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
159
|
+
version: '3'
|
78
160
|
type: :development
|
79
161
|
prerelease: false
|
80
|
-
version_requirements:
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '3'
|
81
167
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
83
|
-
requirement:
|
84
|
-
none: false
|
168
|
+
name: rspec-block_is_expected
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
85
170
|
requirements:
|
86
|
-
- - ~>
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1.0'
|
174
|
+
- - ">="
|
87
175
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
176
|
+
version: 1.0.6
|
89
177
|
type: :development
|
90
178
|
prerelease: false
|
91
|
-
version_requirements:
|
179
|
+
version_requirements: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - "~>"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '1.0'
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 1.0.6
|
92
187
|
- !ruby/object:Gem::Dependency
|
93
188
|
name: webmock
|
94
|
-
requirement:
|
95
|
-
none: false
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
96
190
|
requirements:
|
97
|
-
- - ~>
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '3.18'
|
194
|
+
- - ">="
|
98
195
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
196
|
+
version: 3.18.1
|
100
197
|
type: :development
|
101
198
|
prerelease: false
|
102
|
-
version_requirements:
|
199
|
+
version_requirements: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - "~>"
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '3.18'
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 3.18.1
|
103
207
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
105
|
-
requirement:
|
106
|
-
none: false
|
208
|
+
name: stone_checksums
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
107
210
|
requirements:
|
108
|
-
- - ~>
|
211
|
+
- - "~>"
|
109
212
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0
|
213
|
+
version: '1.0'
|
111
214
|
type: :development
|
112
215
|
prerelease: false
|
113
|
-
version_requirements:
|
114
|
-
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '1.0'
|
221
|
+
description: OpenID (not OIDC) strategy for OmniAuth.
|
115
222
|
email:
|
116
|
-
-
|
117
|
-
- sferik@gmail.com
|
223
|
+
- floss@galtzo.com
|
118
224
|
executables: []
|
119
225
|
extensions: []
|
120
|
-
extra_rdoc_files:
|
226
|
+
extra_rdoc_files:
|
227
|
+
- CHANGELOG.md
|
228
|
+
- CODE_OF_CONDUCT.md
|
229
|
+
- CONTRIBUTING.md
|
230
|
+
- LICENSE.txt
|
231
|
+
- README.md
|
232
|
+
- SECURITY.md
|
121
233
|
files:
|
122
|
-
- .
|
123
|
-
- .
|
124
|
-
- .
|
125
|
-
- .
|
126
|
-
- Gemfile
|
127
|
-
- Gemfile.lock
|
128
|
-
- Guardfile
|
129
|
-
- LICENSE
|
234
|
+
- CHANGELOG.md
|
235
|
+
- CODE_OF_CONDUCT.md
|
236
|
+
- CONTRIBUTING.md
|
237
|
+
- LICENSE.txt
|
130
238
|
- README.md
|
131
|
-
-
|
132
|
-
- examples/sinatra.rb
|
239
|
+
- SECURITY.md
|
133
240
|
- lib/omniauth-openid.rb
|
134
241
|
- lib/omniauth-openid/version.rb
|
242
|
+
- lib/omniauth/openid/version.rb
|
135
243
|
- lib/omniauth/strategies/open_id.rb
|
136
|
-
|
137
|
-
|
138
|
-
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
244
|
+
homepage: https://github.com/omniauth/omniauth-openid
|
245
|
+
licenses:
|
246
|
+
- MIT
|
247
|
+
metadata:
|
248
|
+
homepage_uri: https://railsbling.com/tags/omniauth-openid/
|
249
|
+
source_code_uri: https://github.com/omniauth/omniauth-openid/tree/v2.0.2
|
250
|
+
changelog_uri: https://github.com/omniauth/omniauth-openid/blob/v2.0.2/CHANGELOG.md
|
251
|
+
bug_tracker_uri: https://github.com/omniauth/omniauth-openid/issues
|
252
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-openid/2.0.2
|
253
|
+
wiki_uri: https://github.com/omniauth/omniauth-openid/wiki
|
254
|
+
funding_uri: https://liberapay.com/pboling
|
255
|
+
news_uri: https://www.railsbling.com/tags/omniauth-openid
|
256
|
+
rubygems_mfa_required: 'true'
|
257
|
+
rdoc_options:
|
258
|
+
- "--title"
|
259
|
+
- omniauth-openid - OpenID strategy for OmniAuth.
|
260
|
+
- "--main"
|
261
|
+
- CHANGELOG.md
|
262
|
+
- CODE_OF_CONDUCT.md
|
263
|
+
- CONTRIBUTING.md
|
264
|
+
- LICENSE.txt
|
265
|
+
- README.md
|
266
|
+
- SECURITY.md
|
267
|
+
- "--line-numbers"
|
268
|
+
- "--inline-source"
|
269
|
+
- "--quiet"
|
144
270
|
require_paths:
|
145
271
|
- lib
|
146
272
|
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
273
|
requirements:
|
149
|
-
- -
|
274
|
+
- - ">="
|
150
275
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
276
|
+
version: 2.4.0
|
152
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
278
|
requirements:
|
155
|
-
- -
|
279
|
+
- - ">="
|
156
280
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
281
|
+
version: '0'
|
158
282
|
requirements: []
|
159
|
-
|
160
|
-
|
161
|
-
signing_key:
|
162
|
-
specification_version: 3
|
283
|
+
rubygems_version: 3.6.9
|
284
|
+
specification_version: 4
|
163
285
|
summary: OpenID strategy for OmniAuth.
|
164
|
-
test_files:
|
165
|
-
- spec/omniauth/strategies/open_id_spec.rb
|
166
|
-
- spec/spec_helper.rb
|
286
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|
data/.gemtest
DELETED
File without changes
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.yardopts
DELETED
data/Gemfile
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
platforms :jruby do
|
4
|
-
gem 'jruby-openssl', '~> 0.7'
|
5
|
-
end
|
6
|
-
|
7
|
-
gem 'ruby-openid', '2.1.8', :git => 'git://github.com/mbleigh/ruby-openid.git'
|
8
|
-
|
9
|
-
gemspec
|
10
|
-
|
11
|
-
group :development, :test do
|
12
|
-
gem 'guard'
|
13
|
-
gem 'guard-rspec'
|
14
|
-
gem 'growl'
|
15
|
-
gem 'rb-fsevent'
|
16
|
-
end
|
17
|
-
|
18
|
-
group :example do
|
19
|
-
gem 'sinatra'
|
20
|
-
end
|