authlete 1.29.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4697a779cb153a49007965bd9e2d4271240ff44def6ad927fd620d10da02fbfd
4
- data.tar.gz: e64c960b201cd23bef4587058984382642de2c54d0d51707dac4f3595a50e2eb
3
+ metadata.gz: 79569d91564135754024204aab53f35b5950009d0b2fdb8dc857a70f6b4a5afa
4
+ data.tar.gz: 5440ba02cb738a1f21cac4fe1609fccf920191c49e5bfa309a74090807a64842
5
5
  SHA512:
6
- metadata.gz: 253c088dae1177e94f5585471ef642399ed309b6452066a1691fc093d1bae8355fabf952739fd0cd3de068016d6293340dc6032d8d4713f323e69ba0aa7a49e3
7
- data.tar.gz: ae51b81acf5d3fa470e65f217a5869db0062dd19acfc1a39c7fd87de6067509cf765e01ecd871e927c97b65cf6cd9d330b9f4adb8a733c36b59dbd6c3a9f0faf
6
+ metadata.gz: 6213ea3cc7eb9bbac15aa68764c9bf50bfe4af34f714b83603ae9c98aba56e7c2c4dbd04bddf87b75699adb7df5840b97b7993e12cb33bca49bd44f42e26c88b
7
+ data.tar.gz: 4006d940357ab69fa3d619cee6c5a3622607ba9fc2fa5d84b026eb5d7b48e15b4bb31197ec9af6092844128ebe659bbdaf1ad6ca67f593153ebd454f6f868b39
@@ -332,6 +332,10 @@ module Authlete
332
332
  alias_method :explicitly_registered, :explicitlyRegistered
333
333
  alias_method :explicitly_registered=, :explicitlyRegistered=
334
334
 
335
+ attr_accessor :dpopRequired
336
+ alias_method :dpop_required, :dpopRequired
337
+ alias_method :dpop_required=, :dpopRequired=
338
+
335
339
  private
336
340
 
337
341
  def defaults
@@ -417,6 +421,7 @@ module Authlete
417
421
  pkceS256Required: false,
418
422
  automaticallyRegistered: false,
419
423
  explicitlyRegistered: false,
424
+ dpopRequired: false,
420
425
  }
421
426
  end
422
427
 
@@ -502,6 +507,7 @@ module Authlete
502
507
  @pkceS256Required = hash[:pkceS256Required]
503
508
  @automaticallyRegistered = hash[:automaticallyRegistered]
504
509
  @explicitlyRegistered = hash[:explicitlyRegistered]
510
+ @dpopRequired = hash[:dpopRequired]
505
511
  end
506
512
 
507
513
  def to_hash_value(key, var)
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.29.0"
19
+ VERSION = "1.30.0"
20
20
  end
@@ -127,6 +127,7 @@ class ClientTest < Minitest::Test
127
127
  PKCE_S256_REQUIRED = false
128
128
  AUTOMATICALLY_REGISTERED = false
129
129
  EXPLICITLY_REGISTERED = false
130
+ DPOP_REQUIRED = false
130
131
 
131
132
  def generate_json
132
133
  return <<~JSON
@@ -217,7 +218,8 @@ class ClientTest < Minitest::Test
217
218
  "pkceRequired": false,
218
219
  "pkceS256Required": false,
219
220
  "automaticallyRegistered": false,
220
- "explicitlyRegistered": false
221
+ "explicitlyRegistered": false,
222
+ "dpopRequired": false
221
223
  }
222
224
  JSON
223
225
  end
@@ -312,6 +314,7 @@ class ClientTest < Minitest::Test
312
314
  pkceS256Required: false,
313
315
  automaticallyRegistered: false,
314
316
  explicitlyRegistered: false,
317
+ dpopRequired: false,
315
318
  }
316
319
  end
317
320
 
@@ -397,6 +400,7 @@ class ClientTest < Minitest::Test
397
400
  obj.pkceS256Required = PKCE_S256_REQUIRED
398
401
  obj.automaticallyRegistered = AUTOMATICALLY_REGISTERED
399
402
  obj.explicitlyRegistered = EXPLICITLY_REGISTERED
403
+ obj.dpopRequired = DPOP_REQUIRED
400
404
  end
401
405
 
402
406
 
@@ -491,6 +495,7 @@ class ClientTest < Minitest::Test
491
495
  assert_equal PKCE_S256_REQUIRED, obj.pkceS256Required
492
496
  assert_equal AUTOMATICALLY_REGISTERED, obj.automaticallyRegistered
493
497
  assert_equal EXPLICITLY_REGISTERED, obj.explicitlyRegistered
498
+ assert_equal DPOP_REQUIRED, obj.dpopRequired
494
499
  end
495
500
 
496
501
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlete
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-12-20 00:00:00.000000000 Z
13
+ date: 2023-04-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client