omniauth-ldap 2.3.4 → 3.0.1

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.
data/SECURITY.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Version | Supported |
6
6
  |----------|-----------|
7
- | 1.latest | ✅ |
7
+ | 3.0.latest | ✅ |
8
8
 
9
9
  ## Security contact information
10
10
 
data/certs/pboling.pem ADDED
@@ -0,0 +1,27 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
3
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
4
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
5
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
6
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
7
+ uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
8
+ LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
9
+ mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
10
+ coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
11
+ FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
12
+ yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
13
+ to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
14
+ qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
15
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
16
+ HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
17
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
18
+ ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
19
+ wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
20
+ L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
21
+ GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
22
+ kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
23
+ QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
24
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
25
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
26
+ L9nRqA==
27
+ -----END CERTIFICATE-----
@@ -21,6 +21,10 @@ module OmniAuth
21
21
  #
22
22
  # @note Public API: {validate}, {initialize}, {bind_as}, and attr readers such as {connection}, {uid}
23
23
  class Adaptor
24
+ include OmniAuth::LDAP::AUTH_SANITIZER::FilteredAttributes
25
+
26
+ filtered_attributes :auth, :configuration, :connection, :key, :password, :tls_options
27
+
24
28
  # Generic adaptor error super-class
25
29
  # @see Error classes that inherit from this class
26
30
  class LdapError < StandardError; end
@@ -59,11 +63,7 @@ module OmniAuth
59
63
  # Timeouts
60
64
  :connect_timeout,
61
65
  :read_timeout,
62
-
63
- # Deprecated
64
- :method,
65
- :ca_file,
66
- :ssl_version,
66
+ :method
67
67
  ]
68
68
 
69
69
  # Required configuration keys. This may include alternatives as sub-lists
@@ -74,7 +74,7 @@ module OmniAuth
74
74
  [:encryption, :method], # :method is deprecated
75
75
  [:hosts, :host],
76
76
  [:hosts, :port],
77
- [:uid, :filter],
77
+ [:uid, :filter]
78
78
  ]
79
79
 
80
80
  # Supported encryption method mapping for configuration readability.
@@ -87,7 +87,7 @@ module OmniAuth
87
87
  # Deprecated. This mapping aimed to be user-friendly, but only caused
88
88
  # confusion. Better to pass through the actual `Net::LDAP` encryption type.
89
89
  ssl: :simple_tls,
90
- tls: :start_tls,
90
+ tls: :start_tls
91
91
  }
92
92
 
93
93
  # @!attribute [rw] bind_dn
@@ -167,7 +167,7 @@ module OmniAuth
167
167
  hosts: @hosts,
168
168
  host: @host,
169
169
  port: @port,
170
- encryption: encryption_options,
170
+ encryption: encryption_options
171
171
  }
172
172
  # Remove passing timeouts here to avoid issues on older net-ldap versions.
173
173
  # We'll set them after initialization if the connection responds to writers.
@@ -181,7 +181,7 @@ module OmniAuth
181
181
  @auth ||= {
182
182
  method: @bind_method,
183
183
  username: @bind_dn,
184
- password: @password,
184
+ password: @password
185
185
  }
186
186
  config[:auth] = @auth
187
187
  @connection = Net::LDAP.new(config)
@@ -235,7 +235,7 @@ module OmniAuth
235
235
  {
236
236
  method: :simple,
237
237
  username: dn,
238
- password: password,
238
+ password: password
239
239
  }
240
240
  end
241
241
 
@@ -275,7 +275,7 @@ module OmniAuth
275
275
 
276
276
  {
277
277
  method: translated_method,
278
- tls_options: tls_options(translated_method),
278
+ tls_options: tls_options(translated_method)
279
279
  }
280
280
  end
281
281
 
@@ -297,7 +297,7 @@ module OmniAuth
297
297
  ENCRYPTION_METHOD[normalized_method]
298
298
  end
299
299
 
300
- # Build TLS options including backward-compatibility for deprecated keys.
300
+ # Build TLS options from explicit :tls_options configuration.
301
301
  #
302
302
  # @param translated_method [Symbol] the normalized encryption method
303
303
  # @return [Hash] a hash suitable for passing as :tls_options
@@ -314,10 +314,6 @@ module OmniAuth
314
314
  options.merge!(configured_options)
315
315
  end
316
316
 
317
- # Retain backward compatibility until deprecated configs are removed.
318
- options[:ca_file] = @ca_file if @ca_file
319
- options[:ssl_version] = @ssl_version if @ssl_version
320
-
321
317
  options
322
318
  end
323
319
 
@@ -337,7 +333,7 @@ module OmniAuth
337
333
  method: :sasl,
338
334
  initial_credential: initial_credential,
339
335
  mechanism: mechanism,
340
- challenge_response: challenge_response,
336
+ challenge_response: challenge_response
341
337
  }
342
338
  end
343
339
  auths
@@ -441,7 +437,7 @@ module OmniAuth
441
437
  end
442
438
  @last_password_policy_response = ctrl if ctrl
443
439
  end
444
- rescue StandardError
440
+ rescue
445
441
  # Swallow errors to keep authentication flow unaffected when server or gem doesn't support controls
446
442
  @last_password_policy_response = nil
447
443
  end
@@ -0,0 +1,38 @@
1
+ module OmniAuth
2
+ module LDAP
3
+ # See: Zero Top-Level Namespace Additions
4
+ # https://github.com/ruby-oauth/auth-sanitizer/blob/main/README.md#zero-top-level-namespace-additions
5
+ AUTH_SANITIZER = begin
6
+ auth_sanitizer_requirement = Gem::Requirement.new("~> 0.1", ">= 0.1.4")
7
+ auth_sanitizer_spec = Gem.loaded_specs["auth-sanitizer"]
8
+ unless auth_sanitizer_spec && auth_sanitizer_requirement.satisfied_by?(auth_sanitizer_spec.version)
9
+ # :nocov:
10
+ auth_sanitizer_spec = Gem::Specification.find_by_name("auth-sanitizer", auth_sanitizer_requirement)
11
+ # :nocov:
12
+ end
13
+
14
+ auth_sanitizer_loader_path = File.join(
15
+ auth_sanitizer_spec.full_gem_path,
16
+ "lib/auth_sanitizer/loader.rb"
17
+ )
18
+ unless File.file?(auth_sanitizer_loader_path)
19
+ # :nocov:
20
+ raise LoadError, "omniauth-ldap requires auth-sanitizer #{auth_sanitizer_requirement}; " \
21
+ "loader not found at #{auth_sanitizer_loader_path}"
22
+ # :nocov:
23
+ end
24
+
25
+ auth_sanitizer_loader_namespace = Module.new
26
+ auth_sanitizer_loader_namespace.module_eval(
27
+ File.read(auth_sanitizer_loader_path),
28
+ auth_sanitizer_loader_path,
29
+ 1
30
+ )
31
+
32
+ auth_sanitizer_loader_namespace
33
+ .const_get(:AuthSanitizer)
34
+ .const_get(:Loader)
35
+ .load_isolated
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module OmniAuth
4
+ module LDAP
5
+ module Version
6
+ VERSION = "3.0.1"
7
+ end
8
+ VERSION = Version::VERSION # Traditional Constant Location
9
+ end
10
+ end
@@ -0,0 +1,18 @@
1
+ # Integrate the VersionGem helper into the OmniAuth::LDAP::Version module
2
+ # to expose common version-related helper methods. This file is the public
3
+ # entry point required by consumers of the gem.
4
+ #
5
+ # @example
6
+ # require 'omniauth-ldap'
7
+ # OmniAuth::LDAP::VERSION # => "2.3.2"
8
+
9
+ require "version_gem"
10
+
11
+ require_relative "ldap/version"
12
+ require_relative "ldap/auth_sanitizer"
13
+ require_relative "ldap/adaptor"
14
+ require_relative "strategies/ldap"
15
+
16
+ OmniAuth::LDAP::Version.class_eval do
17
+ extend VersionGem::Basic
18
+ end
@@ -72,7 +72,7 @@ module OmniAuth
72
72
  "uid" => "dn",
73
73
  "url" => ["wwwhomepage"],
74
74
  "image" => "jpegPhoto",
75
- "description" => "description",
75
+ "description" => "description"
76
76
  }
77
77
 
78
78
  # Default title shown on the login form.
@@ -91,8 +91,6 @@ module OmniAuth
91
91
  option :port, 389
92
92
  option :method, :plain
93
93
  option :disable_verify_certificates, false
94
- option :ca_file, nil
95
- option :ssl_version, nil # use OpenSSL default if nil
96
94
  option :uid, "sAMAccountName"
97
95
  option :name_proc, lambda { |n| n }
98
96
 
@@ -171,7 +169,11 @@ module OmniAuth
171
169
 
172
170
  return fail!(:invalid_request_method) unless valid_request_method?
173
171
 
174
- validate_header_auth_configuration!
172
+ begin
173
+ validate_header_auth_configuration!
174
+ rescue => e
175
+ return fail!(:ldap_error, e)
176
+ end
175
177
 
176
178
  # Header-based SSO (REMOTE_USER-style) path
177
179
  if (hu = header_username)
data/lib/omniauth-ldap.rb CHANGED
@@ -1,17 +1,2 @@
1
- # Integrate the VersionGem helper into the OmniAuth::LDAP::Version module
2
- # to expose common version-related helper methods. This file is the public
3
- # entry point required by consumers of the gem.
4
- #
5
- # @example
6
- # require 'omniauth-ldap'
7
- # OmniAuth::LDAP::VERSION # => "2.3.2"
8
-
9
- require "version_gem"
10
-
11
- require "omniauth-ldap/version"
12
- require "omniauth-ldap/adaptor"
13
- require "omniauth/strategies/ldap"
14
-
15
- OmniAuth::LDAP::Version.class_eval do
16
- extend VersionGem::Basic
17
- end
1
+ # Compatibility shim
2
+ require "omniauth/ldap"
File without changes
@@ -3,9 +3,6 @@ module OmniAuth
3
3
  module Version
4
4
  VERSION: String
5
5
  end
6
-
7
- # Traditional constant alias
8
6
  VERSION: String
9
7
  end
10
8
  end
11
-
File without changes
File without changes
data/sig/rbs/net-ldap.rbs CHANGED
File without changes
data/sig/rbs/net-ntlm.rbs CHANGED
File without changes
data/sig/rbs/sasl.rbs CHANGED
File without changes
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,12 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-ldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Peter Boling
7
+ - Hubert
8
8
  - Ping Yu
9
- - Tom Milewski
9
+ - angel brown
10
+ - Dmitriy Dzema
11
+ - Dmitriy Zaporozhets
12
+ - Pat Thoyts
13
+ - Rashit Azizbaev
14
+ - Samuel de Framond
15
+ - Terry Tai
16
+ - David Benko
17
+ - Jakub Jirutka
18
+ - Jason Hollingsworth
19
+ - Mack Talcott
20
+ - Drew Blessing
21
+ - Julian Kniephoff
22
+ - Mike Tierney
23
+ - Sasha Kotlyar
24
+ - Michael Kozono
25
+ - Tiago Botelho
26
+ - tmilewski
27
+ - Finn Bacall
28
+ - Stan Hu
29
+ - Peter H. Boling
10
30
  bindir: exe
11
31
  cert_chain:
12
32
  - |
@@ -39,6 +59,26 @@ cert_chain:
39
59
  -----END CERTIFICATE-----
40
60
  date: 1980-01-02 00:00:00.000000000 Z
41
61
  dependencies:
62
+ - !ruby/object:Gem::Dependency
63
+ name: auth-sanitizer
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 0.2.1
72
+ type: :runtime
73
+ prerelease: false
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: '0.2'
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 0.2.1
42
82
  - !ruby/object:Gem::Dependency
43
83
  name: net-ldap
44
84
  requirement: !ruby/object:Gem::Requirement
@@ -148,7 +188,7 @@ dependencies:
148
188
  version: '1.1'
149
189
  - - ">="
150
190
  - !ruby/object:Gem::Version
151
- version: 1.1.9
191
+ version: 1.1.12
152
192
  type: :runtime
153
193
  prerelease: false
154
194
  version_requirements: !ruby/object:Gem::Requirement
@@ -158,49 +198,41 @@ dependencies:
158
198
  version: '1.1'
159
199
  - - ">="
160
200
  - !ruby/object:Gem::Version
161
- version: 1.1.9
162
- - !ruby/object:Gem::Dependency
163
- name: roda
164
- requirement: !ruby/object:Gem::Requirement
165
- requirements:
166
- - - "~>"
167
- - !ruby/object:Gem::Version
168
- version: '3.97'
169
- type: :development
170
- prerelease: false
171
- version_requirements: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - "~>"
174
- - !ruby/object:Gem::Version
175
- version: '3.97'
201
+ version: 1.1.12
176
202
  - !ruby/object:Gem::Dependency
177
203
  name: kettle-dev
178
204
  requirement: !ruby/object:Gem::Requirement
179
205
  requirements:
180
206
  - - "~>"
181
207
  - !ruby/object:Gem::Version
182
- version: '1.1'
208
+ version: '2.2'
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: 2.2.9
183
212
  type: :development
184
213
  prerelease: false
185
214
  version_requirements: !ruby/object:Gem::Requirement
186
215
  requirements:
187
216
  - - "~>"
188
217
  - !ruby/object:Gem::Version
189
- version: '1.1'
218
+ version: '2.2'
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: 2.2.9
190
222
  - !ruby/object:Gem::Dependency
191
223
  name: bundler-audit
192
224
  requirement: !ruby/object:Gem::Requirement
193
225
  requirements:
194
226
  - - "~>"
195
227
  - !ruby/object:Gem::Version
196
- version: 0.9.2
228
+ version: 0.9.3
197
229
  type: :development
198
230
  prerelease: false
199
231
  version_requirements: !ruby/object:Gem::Requirement
200
232
  requirements:
201
233
  - - "~>"
202
234
  - !ruby/object:Gem::Version
203
- version: 0.9.2
235
+ version: 0.9.3
204
236
  - !ruby/object:Gem::Dependency
205
237
  name: rake
206
238
  requirement: !ruby/object:Gem::Requirement
@@ -241,48 +273,60 @@ dependencies:
241
273
  requirements:
242
274
  - - "~>"
243
275
  - !ruby/object:Gem::Version
244
- version: '3.0'
276
+ version: '3.1'
277
+ - - ">="
278
+ - !ruby/object:Gem::Version
279
+ version: 3.1.2
245
280
  type: :development
246
281
  prerelease: false
247
282
  version_requirements: !ruby/object:Gem::Requirement
248
283
  requirements:
249
284
  - - "~>"
250
285
  - !ruby/object:Gem::Version
251
- version: '3.0'
286
+ version: '3.1'
287
+ - - ">="
288
+ - !ruby/object:Gem::Version
289
+ version: 3.1.2
252
290
  - !ruby/object:Gem::Dependency
253
291
  name: kettle-test
254
292
  requirement: !ruby/object:Gem::Requirement
255
293
  requirements:
256
294
  - - "~>"
257
295
  - !ruby/object:Gem::Version
258
- version: '1.0'
296
+ version: '2.0'
259
297
  - - ">="
260
298
  - !ruby/object:Gem::Version
261
- version: 1.0.6
299
+ version: 2.0.5
262
300
  type: :development
263
301
  prerelease: false
264
302
  version_requirements: !ruby/object:Gem::Requirement
265
303
  requirements:
266
304
  - - "~>"
267
305
  - !ruby/object:Gem::Version
268
- version: '1.0'
306
+ version: '2.0'
269
307
  - - ">="
270
308
  - !ruby/object:Gem::Version
271
- version: 1.0.6
309
+ version: 2.0.5
272
310
  - !ruby/object:Gem::Dependency
273
- name: rack-test
311
+ name: turbo_tests2
274
312
  requirement: !ruby/object:Gem::Requirement
275
313
  requirements:
276
314
  - - "~>"
277
315
  - !ruby/object:Gem::Version
278
- version: '2.2'
316
+ version: '3.1'
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: 3.1.3
279
320
  type: :development
280
321
  prerelease: false
281
322
  version_requirements: !ruby/object:Gem::Requirement
282
323
  requirements:
283
324
  - - "~>"
284
325
  - !ruby/object:Gem::Version
285
- version: '2.2'
326
+ version: '3.1'
327
+ - - ">="
328
+ - !ruby/object:Gem::Version
329
+ version: 3.1.3
286
330
  - !ruby/object:Gem::Dependency
287
331
  name: ruby-progressbar
288
332
  requirement: !ruby/object:Gem::Requirement
@@ -306,7 +350,7 @@ dependencies:
306
350
  version: '1.0'
307
351
  - - ">="
308
352
  - !ruby/object:Gem::Version
309
- version: 1.0.2
353
+ version: 1.0.3
310
354
  type: :development
311
355
  prerelease: false
312
356
  version_requirements: !ruby/object:Gem::Requirement
@@ -316,27 +360,55 @@ dependencies:
316
360
  version: '1.0'
317
361
  - - ">="
318
362
  - !ruby/object:Gem::Version
319
- version: 1.0.2
363
+ version: 1.0.3
320
364
  - !ruby/object:Gem::Dependency
321
365
  name: gitmoji-regex
322
366
  requirement: !ruby/object:Gem::Requirement
323
367
  requirements:
324
368
  - - "~>"
325
369
  - !ruby/object:Gem::Version
326
- version: '1.0'
370
+ version: '2.0'
327
371
  - - ">="
328
372
  - !ruby/object:Gem::Version
329
- version: 1.0.3
373
+ version: 2.0.2
330
374
  type: :development
331
375
  prerelease: false
332
376
  version_requirements: !ruby/object:Gem::Requirement
333
377
  requirements:
334
378
  - - "~>"
335
379
  - !ruby/object:Gem::Version
336
- version: '1.0'
380
+ version: '2.0'
337
381
  - - ">="
338
382
  - !ruby/object:Gem::Version
339
- version: 1.0.3
383
+ version: 2.0.2
384
+ - !ruby/object:Gem::Dependency
385
+ name: rack-test
386
+ requirement: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - "~>"
389
+ - !ruby/object:Gem::Version
390
+ version: '2.2'
391
+ type: :development
392
+ prerelease: false
393
+ version_requirements: !ruby/object:Gem::Requirement
394
+ requirements:
395
+ - - "~>"
396
+ - !ruby/object:Gem::Version
397
+ version: '2.2'
398
+ - !ruby/object:Gem::Dependency
399
+ name: roda
400
+ requirement: !ruby/object:Gem::Requirement
401
+ requirements:
402
+ - - "~>"
403
+ - !ruby/object:Gem::Version
404
+ version: '3.97'
405
+ type: :development
406
+ prerelease: false
407
+ version_requirements: !ruby/object:Gem::Requirement
408
+ requirements:
409
+ - - "~>"
410
+ - !ruby/object:Gem::Version
411
+ version: '3.97'
340
412
  description: "\U0001F4C1 LDAP strategy for OmniAuth."
341
413
  email:
342
414
  - floss@galtzo.com
@@ -348,9 +420,8 @@ extra_rdoc_files:
348
420
  - CODE_OF_CONDUCT.md
349
421
  - CONTRIBUTING.md
350
422
  - FUNDING.md
351
- - LICENSE.txt
423
+ - LICENSE.md
352
424
  - README.md
353
- - REEK
354
425
  - RUBOCOP.md
355
426
  - SECURITY.md
356
427
  files:
@@ -359,14 +430,16 @@ files:
359
430
  - CODE_OF_CONDUCT.md
360
431
  - CONTRIBUTING.md
361
432
  - FUNDING.md
362
- - LICENSE.txt
433
+ - LICENSE.md
363
434
  - README.md
364
- - REEK
365
435
  - RUBOCOP.md
366
436
  - SECURITY.md
437
+ - certs/pboling.pem
367
438
  - lib/omniauth-ldap.rb
368
- - lib/omniauth-ldap/adaptor.rb
369
- - lib/omniauth-ldap/version.rb
439
+ - lib/omniauth/ldap.rb
440
+ - lib/omniauth/ldap/adaptor.rb
441
+ - lib/omniauth/ldap/auth_sanitizer.rb
442
+ - lib/omniauth/ldap/version.rb
370
443
  - lib/omniauth/strategies/ldap.rb
371
444
  - sig/omniauth-ldap.rbs
372
445
  - sig/omniauth/ldap/adaptor.rbs
@@ -379,11 +452,11 @@ homepage: https://github.com/omniauth/omniauth-ldap
379
452
  licenses:
380
453
  - MIT
381
454
  metadata:
382
- homepage_uri: https://omniauth-ldap.galtzo.com/
383
- source_code_uri: https://github.com/omniauth/omniauth-ldap/tree/v2.3.4
384
- changelog_uri: https://github.com/omniauth/omniauth-ldap/blob/v2.3.4/CHANGELOG.md
455
+ homepage_uri: https://omniauth-ldap.galtzo.com
456
+ source_code_uri: https://github.com/omniauth/omniauth-ldap/tree/v3.0.1
457
+ changelog_uri: https://github.com/omniauth/omniauth-ldap/blob/v3.0.1/CHANGELOG.md
385
458
  bug_tracker_uri: https://github.com/omniauth/omniauth-ldap/issues
386
- documentation_uri: https://www.rubydoc.info/gems/omniauth-ldap/2.3.4
459
+ documentation_uri: https://www.rubydoc.info/gems/omniauth-ldap/3.0.1
387
460
  funding_uri: https://github.com/sponsors/pboling
388
461
  wiki_uri: https://github.com/omniauth/omniauth-ldap/wiki
389
462
  news_uri: https://www.railsbling.com/tags/omniauth-ldap
@@ -405,14 +478,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
405
478
  requirements:
406
479
  - - ">="
407
480
  - !ruby/object:Gem::Version
408
- version: '2.0'
481
+ version: 2.2.0
409
482
  required_rubygems_version: !ruby/object:Gem::Requirement
410
483
  requirements:
411
484
  - - ">="
412
485
  - !ruby/object:Gem::Version
413
486
  version: '0'
414
487
  requirements: []
415
- rubygems_version: 4.0.11
488
+ rubygems_version: 4.0.10
416
489
  specification_version: 4
417
490
  summary: "\U0001F4C1 LDAP strategy for OmniAuth."
418
491
  test_files: []
metadata.gz.sig CHANGED
Binary file
data/LICENSE.txt DELETED
@@ -1,24 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 - 2026 Peter H. Boling, and omniauth-ldap contributors
4
- Copyright (c) 2014 David Benko
5
- Copyright (c) 2011 by Ping Yu and Intridea, Inc.
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining
8
- a copy of this software and associated documentation files (the
9
- "Software"), to deal in the Software without restriction, including
10
- without limitation the rights to use, copy, modify, merge, publish,
11
- distribute, sublicense, and/or sell copies of the Software, and to
12
- permit persons to whom the Software is furnished to do so, subject to
13
- the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be
16
- included in all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/REEK DELETED
File without changes
@@ -1,17 +0,0 @@
1
- module OmniAuth
2
- module LDAP
3
- # Version namespace for the omniauth-ldap gem
4
- #
5
- # This module contains the version constant used by rubygems and in code
6
- # consumers. It intentionally exposes VERSION both inside the Version
7
- # namespace and as OmniAuth::LDAP::VERSION for compatibility.
8
- module Version
9
- # Public semantic version for the gem
10
- # @return [String]
11
- VERSION = "2.3.4"
12
- end
13
- # Convenience constant for consumers that expect OmniAuth::LDAP::VERSION
14
- # @return [String]
15
- VERSION = Version::VERSION # Make VERSION available in traditional way
16
- end
17
- end