authlete 1.15.0 → 1.18.0
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 +4 -4
- data/lib/authlete/model/service.rb +19 -1
- data/lib/authlete/version.rb +1 -1
- data/test/authlete/model/test_service.rb +19 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a6d6b54fff66206e4a72791605ec3f84cdc835365a4dce359c3acadda49c56d
|
4
|
+
data.tar.gz: 5418a92d1c23f717ff8ac6e393961c0e5fef71b276ffb6c528bae32f3002ea03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53cacf0ae8c7f6edf51c9628598234297666a96aa877bf284fd6c41469c7ec74892d56912b240658ff7ed8c14e1f68a55504a615c89406cb0d6c4086792084d5
|
7
|
+
data.tar.gz: fe43a9a51a6716e103bd57d9c9699870f637310c2c0b255a83d0d61b16453e5ffb75b5717da73711b66e051a29e917e642ea81b478d101246716f0df4b75a6c0
|
@@ -518,8 +518,20 @@ module Authlete
|
|
518
518
|
attr_accessor :supportedDigestAlgorithms
|
519
519
|
alias_method :supported_digest_algorithms, :supportedDigestAlgorithms
|
520
520
|
alias_method :supported_digest_algorithms=, :supportedDigestAlgorithms=
|
521
|
+
|
522
|
+
attr_accessor :requestObjectAudienceChecked
|
523
|
+
alias_method :request_object_audience_checked, :requestObjectAudienceChecked
|
524
|
+
alias_method :request_object_audience_checked=, :requestObjectAudienceChecked=
|
525
|
+
|
526
|
+
attr_accessor :accessTokenForExternalAttachmentEmbedded
|
527
|
+
alias_method :access_token_for_external_attachment_embedded, :accessTokenForExternalAttachmentEmbedded
|
528
|
+
alias_method :access_token_for_external_attachment_embedded=, :accessTokenForExternalAttachmentEmbedded=
|
529
|
+
|
530
|
+
attr_accessor :refreshTokenIdempotent
|
531
|
+
alias_method :refresh_token_idempotent, :refreshTokenIdempotent
|
532
|
+
alias_method :refresh_token_idempotent=, :refreshTokenIdempotent=
|
521
533
|
private
|
522
|
-
|
534
|
+
|
523
535
|
def defaults
|
524
536
|
{
|
525
537
|
number: 0,
|
@@ -650,6 +662,9 @@ module Authlete
|
|
650
662
|
supportedElectronicRecords: nil,
|
651
663
|
supportedAttachments: nil,
|
652
664
|
supportedDigestAlgorithms: nil,
|
665
|
+
requestObjectAudienceChecked: false,
|
666
|
+
accessTokenForExternalAttachmentEmbedded: false,
|
667
|
+
refreshTokenIdempotent: false,
|
653
668
|
}
|
654
669
|
end
|
655
670
|
|
@@ -782,6 +797,9 @@ module Authlete
|
|
782
797
|
@supportedElectronicRecords = hash[:supportedElectronicRecords]
|
783
798
|
@supportedAttachments = hash[:supportedAttachments]
|
784
799
|
@supportedDigestAlgorithms = hash[:supportedDigestAlgorithms]
|
800
|
+
@requestObjectAudienceChecked = hash[:requestObjectAudienceChecked]
|
801
|
+
@accessTokenForExternalAttachmentEmbedded = hash[:accessTokenForExternalAttachmentEmbedded]
|
802
|
+
@refreshTokenIdempotent = hash[:refreshTokenIdempotent]
|
785
803
|
end
|
786
804
|
|
787
805
|
def to_hash_value(key, var)
|
data/lib/authlete/version.rb
CHANGED
@@ -167,9 +167,12 @@ class ServiceTest < Minitest::Test
|
|
167
167
|
SUPPORTED_DOCUMENTS_METHODS = ['<supported-documents-methods1>', '<supported-documents-methods1>']
|
168
168
|
SUPPORTED_DOCUMENTS_VALIDATION_METHODS = ['<supported-documents-validation-methods1>', '<supported-documents-validation-methods1>']
|
169
169
|
SUPPORTED_DOCUMENTS_VERIFICATION_METHODS = ['<supported-documents-verification-methods1>', '<supported-documents-verification-methods1>']
|
170
|
-
SUPPORTED_ELECTRONIC_RECORDS
|
170
|
+
SUPPORTED_ELECTRONIC_RECORDS = ['<supported-electronic-records1>', '<supported-electronic-records1>']
|
171
171
|
SUPPORTED_ATTACHMENTS = [ 'EMBEDDED', 'EXTERNAL']
|
172
172
|
SUPPORTED_DIGEST_ALGORITHMS = ['<supported-digest-algorithms1>', '<supported-digest-algorithms1>']
|
173
|
+
REQUEST_OBJECT_AUDIENCE_CHECKED = true
|
174
|
+
ACCESS_TOKEN_FOR_EXTERNAL_ATTACHMENT_EMBEDDED = false
|
175
|
+
REFRESH_TOKEN_IDEMPOTENT = false
|
173
176
|
|
174
177
|
def generate_json
|
175
178
|
return <<~JSON
|
@@ -301,7 +304,10 @@ class ServiceTest < Minitest::Test
|
|
301
304
|
"supportedDocumentsVerificationMethods": ["<supported-documents-verification-methods1>", "<supported-documents-verification-methods1>"],
|
302
305
|
"supportedElectronicRecords": ["<supported-electronic-records1>", "<supported-electronic-records1>"],
|
303
306
|
"supportedAttachments": [ "EMBEDDED", "EXTERNAL"],
|
304
|
-
"supportedDigestAlgorithms": ["<supported-digest-algorithms1>", "<supported-digest-algorithms1>"]
|
307
|
+
"supportedDigestAlgorithms": ["<supported-digest-algorithms1>", "<supported-digest-algorithms1>"],
|
308
|
+
"requestObjectAudienceChecked": true,
|
309
|
+
"accessTokenForExternalAttachmentEmbedded": false,
|
310
|
+
"refreshTokenIdempotent": false
|
305
311
|
}
|
306
312
|
JSON
|
307
313
|
end
|
@@ -436,7 +442,10 @@ class ServiceTest < Minitest::Test
|
|
436
442
|
supportedDocumentsVerificationMethods: ['<supported-documents-verification-methods1>', '<supported-documents-verification-methods1>'],
|
437
443
|
supportedElectronicRecords: ['<supported-electronic-records1>', '<supported-electronic-records1>'],
|
438
444
|
supportedAttachments: [ 'EMBEDDED', 'EXTERNAL'],
|
439
|
-
supportedDigestAlgorithms: ['<supported-digest-algorithms1>', '<supported-digest-algorithms1>']
|
445
|
+
supportedDigestAlgorithms: ['<supported-digest-algorithms1>', '<supported-digest-algorithms1>'],
|
446
|
+
requestObjectAudienceChecked: true,
|
447
|
+
accessTokenForExternalAttachmentEmbedded: false,
|
448
|
+
refreshTokenIdempotent: false
|
440
449
|
}
|
441
450
|
end
|
442
451
|
|
@@ -567,9 +576,12 @@ class ServiceTest < Minitest::Test
|
|
567
576
|
obj.supported_documents_methods = SUPPORTED_DOCUMENTS_METHODS
|
568
577
|
obj.supported_documents_validation_methods = SUPPORTED_DOCUMENTS_VALIDATION_METHODS
|
569
578
|
obj.supported_documents_verification_methods = SUPPORTED_DOCUMENTS_VERIFICATION_METHODS
|
570
|
-
obj.supported_electronic_records
|
579
|
+
obj.supported_electronic_records = SUPPORTED_ELECTRONIC_RECORDS
|
571
580
|
obj.supported_attachments = SUPPORTED_ATTACHMENTS
|
572
581
|
obj.supported_digest_algorithms = SUPPORTED_DIGEST_ALGORITHMS
|
582
|
+
obj.request_object_audience_checked = REQUEST_OBJECT_AUDIENCE_CHECKED
|
583
|
+
obj.access_token_for_external_attachment_embedded = ACCESS_TOKEN_FOR_EXTERNAL_ATTACHMENT_EMBEDDED
|
584
|
+
obj.refresh_token_idempotent = REFRESH_TOKEN_IDEMPOTENT
|
573
585
|
end
|
574
586
|
|
575
587
|
|
@@ -716,6 +728,9 @@ class ServiceTest < Minitest::Test
|
|
716
728
|
assert_equal SUPPORTED_ELECTRONIC_RECORDS, obj.supported_electronic_records
|
717
729
|
assert_equal SUPPORTED_ATTACHMENTS, obj.supported_attachments
|
718
730
|
assert_equal SUPPORTED_DIGEST_ALGORITHMS, obj.supported_digest_algorithms
|
731
|
+
assert_equal REQUEST_OBJECT_AUDIENCE_CHECKED, obj.request_object_audience_checked
|
732
|
+
assert_equal ACCESS_TOKEN_FOR_EXTERNAL_ATTACHMENT_EMBEDDED, obj.access_token_for_external_attachment_embedded
|
733
|
+
assert_equal REFRESH_TOKEN_IDEMPOTENT, obj.refresh_token_idempotent
|
719
734
|
end
|
720
735
|
|
721
736
|
|
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.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiko Kawasaki
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|