authlete 1.0.12 → 1.0.13
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/client.rb +9 -2
- data/lib/authlete/model/service.rb +18 -2
- data/lib/authlete/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfe90c7b768ab7b89c5ae8ee992bd4cdd9102fac
|
|
4
|
+
data.tar.gz: 7c6b479c15d029873f7eb7a4c86f05ed51ff7ee6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10a59cb3d82346d041f0859e2550c60a66be1ec62a0ebc2ba9a7b8d824ac33dea43db05208ff61ad28c21fee9461056d8fb8d17b40d5351a793f7b859bb4092d
|
|
7
|
+
data.tar.gz: 468b6b74b18f50731579b2bf945232262850df2907514e6ad7c733c9fd8d8e60b2bc24c988b57456c8bb29fbc4e737416e7af072847baa69a40daa5c3986b4e0
|
|
@@ -326,6 +326,12 @@ module Authlete
|
|
|
326
326
|
alias_method :bc_user_code_required, :bcUserCodeRequired
|
|
327
327
|
alias_method :bc_user_code_required=, :bcUserCodeRequired=
|
|
328
328
|
|
|
329
|
+
# The flag which indicates whether this client was registered dynamically
|
|
330
|
+
# or (if false) through the regular static method. (Boolean)
|
|
331
|
+
attr_accessor :dynamicallyRegistered
|
|
332
|
+
alias_method :dynamically_registered, :dynamicallyRegistered
|
|
333
|
+
alias_method :dynamically_registered=, :dynamicallyRegistered=
|
|
334
|
+
|
|
329
335
|
private
|
|
330
336
|
|
|
331
337
|
# Integer attributes.
|
|
@@ -336,7 +342,7 @@ module Authlete
|
|
|
336
342
|
# Boolean attributes.
|
|
337
343
|
BOOLEAN_ATTRIBUTES = ::Set.new([
|
|
338
344
|
:authTimeRequired, :clientIdAliasEnabled, :tlsClientCertificateBoundAccessTokens,
|
|
339
|
-
:bcUserCodeRequired
|
|
345
|
+
:bcUserCodeRequired, :dynamicallyRegistered
|
|
340
346
|
])
|
|
341
347
|
|
|
342
348
|
# String attributes.
|
|
@@ -414,7 +420,8 @@ module Authlete
|
|
|
414
420
|
:bc_delivery_mode => :bcDeliveryMode,
|
|
415
421
|
:bc_notification_endpoint => :bcNotificationEndpoint,
|
|
416
422
|
:bc_request_sign_alg => :bcRequestSignAlg,
|
|
417
|
-
:bc_user_code_required => :bcUserCodeRequired
|
|
423
|
+
:bc_user_code_required => :bcUserCodeRequired,
|
|
424
|
+
:dynamically_registered => :dynamicallyRegistered
|
|
418
425
|
}
|
|
419
426
|
|
|
420
427
|
# The constructor
|
|
@@ -436,6 +436,19 @@ module Authlete
|
|
|
436
436
|
alias_method :user_info_signature_key_id, :userInfoSignatureKeyId
|
|
437
437
|
alias_method :user_info_signature_key_id=, :userInfoSignatureKeyId=
|
|
438
438
|
|
|
439
|
+
# Flag of whether this service supports dynamic client registration.
|
|
440
|
+
# (Boolean)
|
|
441
|
+
attr_accessor :dynamicRegistrationSupported
|
|
442
|
+
alias_method :dynamic_registration_supported, :dynamicRegistrationSupported
|
|
443
|
+
alias_method :dynamic_registration_supported=, :dynamicRegistrationSupported=
|
|
444
|
+
|
|
445
|
+
# The base URI of the service's "Dynamic Client Registration Management"
|
|
446
|
+
# endpoint. Client management URIs will be based on this by adding the
|
|
447
|
+
# client ID as a path component. (String)
|
|
448
|
+
attr_accessor :registrationManagementEndpoint
|
|
449
|
+
alias_method :registration_management_endpoint, :registrationManagementEndpoint
|
|
450
|
+
alias_method :registration_management_endpoint=, :registrationManagementEndpoint=
|
|
451
|
+
|
|
439
452
|
private
|
|
440
453
|
|
|
441
454
|
# Integer attributes.
|
|
@@ -453,7 +466,8 @@ module Authlete
|
|
|
453
466
|
:directJwksEndpointEnabled, :directRevocationEndpointEnabled, :directTokenEndpointEnabled,
|
|
454
467
|
:directUserInfoEndpointEnabled, :errorDescriptionOmitted, :errorUriOmitted,
|
|
455
468
|
:mutualTlsValidatePkiCertChain, :pkceRequired, :refreshTokenKept,
|
|
456
|
-
:singleAccessTokenPerSubject, :tlsClientCertificateBoundAccessTokens
|
|
469
|
+
:singleAccessTokenPerSubject, :tlsClientCertificateBoundAccessTokens,
|
|
470
|
+
:dynamicRegistrationSupported
|
|
457
471
|
])
|
|
458
472
|
|
|
459
473
|
# String attributes.
|
|
@@ -466,7 +480,7 @@ module Authlete
|
|
|
466
480
|
:idTokenSignatureKeyId, :introspectionEndpoint, :issuer, :jwks, :jwksUri,
|
|
467
481
|
:policyUri, :registrationEndpoint, :serviceDocumentation, :serviceName,
|
|
468
482
|
:tokenEndpoint, :tosUri, :userInfoEndpoint, :userInfoSignatureKeyId,
|
|
469
|
-
:revocationEndpoint
|
|
483
|
+
:revocationEndpoint, :registrationManagementEndpoint
|
|
470
484
|
])
|
|
471
485
|
|
|
472
486
|
# String array attributes.
|
|
@@ -515,6 +529,7 @@ module Authlete
|
|
|
515
529
|
:direct_revocation_endpoint_enabled => :directRevocationEndpointEnabled,
|
|
516
530
|
:direct_token_endpoint_enabled => :directTokenEndpointEnabled,
|
|
517
531
|
:direct_user_info_endpoint_enabled => :directUserInfoEndpointEnabled,
|
|
532
|
+
:dynamic_registration_supported => :dynamicRegistrationSupported,
|
|
518
533
|
:error_description_omitted => :errorDescriptionOmitted,
|
|
519
534
|
:error_uri_omitted => :errorUriOmitted,
|
|
520
535
|
:id_token_duration => :idTokenDuration,
|
|
@@ -528,6 +543,7 @@ module Authlete
|
|
|
528
543
|
:refresh_token_duration => :refreshTokenDuration,
|
|
529
544
|
:refresh_token_kept => :refreshTokenKept,
|
|
530
545
|
:registration_endpoint => :registrationEndpoint,
|
|
546
|
+
:registration_management_endpoint => :registrationManagementEndpoint,
|
|
531
547
|
:revocation_endpoint => :revocationEndpoint,
|
|
532
548
|
:service_documentation => :serviceDocumentation,
|
|
533
549
|
:service_name => :serviceName,
|
data/lib/authlete/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: authlete
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takahiko Kawasaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|