authlete 1.0.22 → 1.0.23

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
- SHA256:
3
- metadata.gz: 76874c7e1a1d4c0ce39569f657df73d1d445df1907bfa08602eb75fae353ce79
4
- data.tar.gz: 7ce55dd3873f5b4a79f2df58ce84da52d0c45889701820e5a711fd1d12c496ac
2
+ SHA1:
3
+ metadata.gz: ad28a48d4a810e9518ef0d5ab526020b44009e3b
4
+ data.tar.gz: 5aa75eb7364fe2d1685a9f0d908b6dc868ab61fc
5
5
  SHA512:
6
- metadata.gz: 62a1f340f9c25fb0a052ef5211dd4e0809f68a26b9a3e5e4e204dab8cbf5c22f8e5f1733ee063330b0d3d7cdbf0b92189ec3c7b5a90510de7d572f474c3f3c74
7
- data.tar.gz: c44961fd3bead0938e2f7db4f1e980495ec4f826974d218dcb90b57870dd5348a043d9b9f2b2ca066da19918b677e435899a0166820d821c785184a4e72061f0
6
+ metadata.gz: c72e4e0aadffa8e648d3ffdd6ab5f8d9d3ebe99ebd66cd6d7ef4ed628af096e6d2a64b93cd6160f1e6f726bc8fcb655cd9fe86fdfbe1be8de178bbff6474c71b
7
+ data.tar.gz: b7930844955f11598cbec883c8ac20da76c48f7a974f4816a45aaa811be2f735ec0c853f1b14f8c9306994ef46e35e8f7008a72c64f3247af0f82e4b6b1eeb6f
@@ -377,6 +377,12 @@ module Authlete
377
377
  alias_method :par_required, :parRequired
378
378
  alias_method :par_required=, :parRequired=
379
379
 
380
+ # Flag of whether authorization requests from this client must always
381
+ # contain a request object. (Boolean)
382
+ attr_accessor :requestObjectRequired
383
+ alias_method :request_object_required, :requestObjectRequired
384
+ alias_method :request_object_required=, :requestObjectRequired=
385
+
380
386
  private
381
387
 
382
388
  # Integer attributes.
@@ -387,7 +393,7 @@ module Authlete
387
393
  # Boolean attributes.
388
394
  BOOLEAN_ATTRIBUTES = ::Set.new([
389
395
  :authTimeRequired, :clientIdAliasEnabled, :tlsClientCertificateBoundAccessTokens,
390
- :bcUserCodeRequired, :dynamicallyRegistered, :parRequired
396
+ :bcUserCodeRequired, :dynamicallyRegistered, :parRequired, :requestObjectRequired
391
397
  ])
392
398
 
393
399
  # String attributes.
@@ -475,7 +481,8 @@ module Authlete
475
481
  :tls_client_auth_san_dns => :tlsClientAuthSanDns,
476
482
  :sector_identifier_uri => :sectorIdentifierUri,
477
483
  :authorization_data_types => :authorizationDataTypes,
478
- :par_required => :parRequired
484
+ :par_required => :parRequired,
485
+ :request_object_required => :requestObjectRequired
479
486
  }
480
487
 
481
488
  # The constructor
@@ -576,6 +576,18 @@ module Authlete
576
576
  alias_method :par_required, :parRequired
577
577
  alias_method :par_required=, :parRequired=
578
578
 
579
+ # Flag of whether this service always requires request objects. (Boolean)
580
+ attr_accessor :requestObjectRequired
581
+ alias_method :request_object_required, :requestObjectRequired
582
+ alias_method :request_object_required=, :requestObjectRequired=
583
+
584
+ # Flag of whether this service processes request objects based on the
585
+ # rules defined in OpenID Connect Core 1.0 (if +true+) or JAR (JWT Secured
586
+ # Authorization Request) (if +false+). (Boolean)
587
+ attr_accessor :traditionalRequestObjectProcessingApplied
588
+ alias_method :traditional_request_object_processing_applied, :traditionalRequestObjectProcessingApplied
589
+ alias_method :traditional_request_object_processing_applied=, :traditionalRequestObjectProcessingApplied=
590
+
579
591
  private
580
592
 
581
593
  # Integer attributes.
@@ -597,7 +609,7 @@ module Authlete
597
609
  :mutualTlsValidatePkiCertChain, :pkceRequired, :pkceS256Required, :refreshTokenKept,
598
610
  :singleAccessTokenPerSubject, :tlsClientCertificateBoundAccessTokens,
599
611
  :dynamicRegistrationSupported, :missingClientIdAllowed, :refreshTokenDurationKept,
600
- :parRequired
612
+ :parRequired, :requestObjectRequired, :traditionalRequestObjectProcessingApplied
601
613
  ])
602
614
 
603
615
  # String attributes.
@@ -633,99 +645,101 @@ module Authlete
633
645
 
634
646
  # Mapping from snake cases to camel cases.
635
647
  SNAKE_TO_CAMEL = {
636
- :access_token_duration => :accessTokenDuration,
637
- :access_token_sign_alg => :accessTokenSignAlg,
638
- :access_token_signature_key_id => :accessTokenSignatureKeyId,
639
- :access_token_type => :accessTokenType,
640
- :allowable_clock_skew => :allowableClockSkew,
641
- :api_key => :apiKey,
642
- :api_secret => :apiSecret,
643
- :authentication_callback_api_key => :authenticationCallbackApiKey,
644
- :authentication_callback_api_secret => :authenticationCallbackApiSecret,
645
- :authentication_callback_endpoint => :authenticationCallbackEndpoint,
646
- :authorization_endpoint => :authorizationEndpoint,
647
- :authorization_response_duration => :authorizationResponseDuration,
648
- :authorization_signature_key_id => :authorizationSignatureKeyId,
649
- :backchannel_authentication_endpoint => :backchannelAuthenticationEndpoint,
650
- :backchannel_binding_message_required_in_fapi => :backchannelBindingMessageRequiredInFapi,
651
- :backchannel_auth_req_id_duration => :backchannelAuthReqIdDuration,
652
- :backchannel_polling_interval => :backchannelPollingInterval,
653
- :backchannel_user_code_parameter_supported => :backchannelUserCodeParameterSupported,
654
- :developer_authentication_callback_api_key => :developerAuthenticationCallbackApiKey,
655
- :developer_authentication_callback_api_secret => :developerAuthenticationCallbackApiSecret,
656
- :developer_authentication_callback_endpoint => :developerAuthenticationCallbackEndpoint,
657
- :developer_sns_credentials => :developerSnsCredentials,
658
- :device_authorization_endpoint => :deviceAuthorizationEndpoint,
659
- :device_flow_code_duration => :deviceFlowCodeDuration,
660
- :device_flow_polling_interval => :deviceFlowPollingInterval,
661
- :device_verification_uri => :deviceVerificationUri,
662
- :device_verification_uri_complete => :deviceVerificationUriComplete,
663
- :client_id_alias_enabled => :clientIdAliasEnabled,
664
- :clients_per_developer => :clientsPerDeveloper,
665
- :created_at => :createdAt,
666
- :direct_authorization_endpoint_enabled => :directAuthorizationEndpointEnabled,
667
- :direct_introspection_endpoint_enabled => :directIntrospectionEndpointEnabled,
668
- :direct_jwks_endpoint_enabled => :directJwksEndpointEnabled,
669
- :direct_revocation_endpoint_enabled => :directRevocationEndpointEnabled,
670
- :direct_token_endpoint_enabled => :directTokenEndpointEnabled,
671
- :direct_user_info_endpoint_enabled => :directUserInfoEndpointEnabled,
672
- :dynamic_registration_supported => :dynamicRegistrationSupported,
673
- :error_description_omitted => :errorDescriptionOmitted,
674
- :error_uri_omitted => :errorUriOmitted,
675
- :id_token_duration => :idTokenDuration,
676
- :id_token_signature_key_id => :idTokenSignatureKeyId,
677
- :introspection_endpoint => :introspectionEndpoint,
678
- :jwks_uri => :jwksUri,
679
- :modified_at => :modifiedAt,
680
- :mutual_tls_validate_pki_cert_chain => :mutualTlsValidatePkiCertChain,
681
- :pkce_required => :pkceRequired,
682
- :pkce_s256_required => :pkceS256Required,
683
- :policy_uri => :policyUri,
684
- :refresh_token_duration => :refreshTokenDuration,
685
- :refresh_token_kept => :refreshTokenKept,
686
- :registration_endpoint => :registrationEndpoint,
687
- :registration_management_endpoint => :registrationManagementEndpoint,
688
- :revocation_endpoint => :revocationEndpoint,
689
- :request_object_endpoint => :requestObjectEndpoint,
690
- :service_documentation => :serviceDocumentation,
691
- :service_name => :serviceName,
692
- :service_owner_number => :serviceOwnerNumber,
693
- :single_access_token_per_subject => :singleAccessTokenPerSubject,
694
- :sns_credentials => :snsCredentials,
695
- :supported_acrs => :supportedAcrs,
696
- :supported_backchannel_token_delivery_modes => :supportedBackchannelTokenDeliveryModes,
697
- :supported_claim_locales => :supportedClaimLocales,
698
- :supported_claims => :supportedClaims,
699
- :supported_claim_types => :supportedClaimTypes,
700
- :supported_developer_snses => :supportedDeveloperSnses,
701
- :supported_displays => :supportedDisplays,
702
- :supported_grant_types => :supportedGrantTypes,
703
- :supported_response_types => :supportedResponseTypes,
704
- :supported_scopes => :supportedScopes,
705
- :supported_service_profiles => :supportedServiceProfiles,
706
- :supported_snses => :supportedSnses,
707
- :supported_token_auth_methods => :supportedTokenAuthMethods,
708
- :supported_ui_locales => :supportedUiLocales,
709
- :tls_client_certificate_bound_access_tokens => :tlsClientCertificateBoundAccessTokens,
710
- :token_endpoint => :tokenEndpoint,
711
- :tos_uri => :tosUri,
712
- :trusted_root_certificates => :trustedRootCertificates,
713
- :user_code_charset => :userCodeCharset,
714
- :user_code_length => :userCodeLength,
715
- :user_info_endpoint => :userInfoEndpoint,
716
- :user_info_signature_key_id => :userInfoSignatureKeyId,
717
- :mtls_endpoint_aliases => :mtlsEndpointAliases,
718
- :pushed_auth_req_endpoint => :pushedAuthReqEndpoint,
719
- :pushed_auth_req_duration => :pushedAuthReqDuration,
720
- :supported_authorization_data_types => :supportedAuthorizationDataTypes,
721
- :supported_trust_frameworks => :supportedTrustFrameworks,
722
- :supported_evidence => :supportedEvidence,
723
- :supported_identity_documents => :supportedIdentityDocuments,
724
- :supported_verification_methods => :supportedVerificationMethods,
725
- :supported_verified_claims => :supportedVerifiedClaims,
726
- :missing_client_id_allowed => :missingClientIdAllowed,
727
- :refresh_token_duration_kept => :refreshTokenDurationKept,
728
- :par_required => :parRequired
648
+ :access_token_duration => :accessTokenDuration,
649
+ :access_token_sign_alg => :accessTokenSignAlg,
650
+ :access_token_signature_key_id => :accessTokenSignatureKeyId,
651
+ :access_token_type => :accessTokenType,
652
+ :allowable_clock_skew => :allowableClockSkew,
653
+ :api_key => :apiKey,
654
+ :api_secret => :apiSecret,
655
+ :authentication_callback_api_key => :authenticationCallbackApiKey,
656
+ :authentication_callback_api_secret => :authenticationCallbackApiSecret,
657
+ :authentication_callback_endpoint => :authenticationCallbackEndpoint,
658
+ :authorization_endpoint => :authorizationEndpoint,
659
+ :authorization_response_duration => :authorizationResponseDuration,
660
+ :authorization_signature_key_id => :authorizationSignatureKeyId,
661
+ :backchannel_authentication_endpoint => :backchannelAuthenticationEndpoint,
662
+ :backchannel_binding_message_required_in_fapi => :backchannelBindingMessageRequiredInFapi,
663
+ :backchannel_auth_req_id_duration => :backchannelAuthReqIdDuration,
664
+ :backchannel_polling_interval => :backchannelPollingInterval,
665
+ :backchannel_user_code_parameter_supported => :backchannelUserCodeParameterSupported,
666
+ :developer_authentication_callback_api_key => :developerAuthenticationCallbackApiKey,
667
+ :developer_authentication_callback_api_secret => :developerAuthenticationCallbackApiSecret,
668
+ :developer_authentication_callback_endpoint => :developerAuthenticationCallbackEndpoint,
669
+ :developer_sns_credentials => :developerSnsCredentials,
670
+ :device_authorization_endpoint => :deviceAuthorizationEndpoint,
671
+ :device_flow_code_duration => :deviceFlowCodeDuration,
672
+ :device_flow_polling_interval => :deviceFlowPollingInterval,
673
+ :device_verification_uri => :deviceVerificationUri,
674
+ :device_verification_uri_complete => :deviceVerificationUriComplete,
675
+ :client_id_alias_enabled => :clientIdAliasEnabled,
676
+ :clients_per_developer => :clientsPerDeveloper,
677
+ :created_at => :createdAt,
678
+ :direct_authorization_endpoint_enabled => :directAuthorizationEndpointEnabled,
679
+ :direct_introspection_endpoint_enabled => :directIntrospectionEndpointEnabled,
680
+ :direct_jwks_endpoint_enabled => :directJwksEndpointEnabled,
681
+ :direct_revocation_endpoint_enabled => :directRevocationEndpointEnabled,
682
+ :direct_token_endpoint_enabled => :directTokenEndpointEnabled,
683
+ :direct_user_info_endpoint_enabled => :directUserInfoEndpointEnabled,
684
+ :dynamic_registration_supported => :dynamicRegistrationSupported,
685
+ :error_description_omitted => :errorDescriptionOmitted,
686
+ :error_uri_omitted => :errorUriOmitted,
687
+ :id_token_duration => :idTokenDuration,
688
+ :id_token_signature_key_id => :idTokenSignatureKeyId,
689
+ :introspection_endpoint => :introspectionEndpoint,
690
+ :jwks_uri => :jwksUri,
691
+ :modified_at => :modifiedAt,
692
+ :mutual_tls_validate_pki_cert_chain => :mutualTlsValidatePkiCertChain,
693
+ :pkce_required => :pkceRequired,
694
+ :pkce_s256_required => :pkceS256Required,
695
+ :policy_uri => :policyUri,
696
+ :refresh_token_duration => :refreshTokenDuration,
697
+ :refresh_token_kept => :refreshTokenKept,
698
+ :registration_endpoint => :registrationEndpoint,
699
+ :registration_management_endpoint => :registrationManagementEndpoint,
700
+ :revocation_endpoint => :revocationEndpoint,
701
+ :request_object_endpoint => :requestObjectEndpoint,
702
+ :service_documentation => :serviceDocumentation,
703
+ :service_name => :serviceName,
704
+ :service_owner_number => :serviceOwnerNumber,
705
+ :single_access_token_per_subject => :singleAccessTokenPerSubject,
706
+ :sns_credentials => :snsCredentials,
707
+ :supported_acrs => :supportedAcrs,
708
+ :supported_backchannel_token_delivery_modes => :supportedBackchannelTokenDeliveryModes,
709
+ :supported_claim_locales => :supportedClaimLocales,
710
+ :supported_claims => :supportedClaims,
711
+ :supported_claim_types => :supportedClaimTypes,
712
+ :supported_developer_snses => :supportedDeveloperSnses,
713
+ :supported_displays => :supportedDisplays,
714
+ :supported_grant_types => :supportedGrantTypes,
715
+ :supported_response_types => :supportedResponseTypes,
716
+ :supported_scopes => :supportedScopes,
717
+ :supported_service_profiles => :supportedServiceProfiles,
718
+ :supported_snses => :supportedSnses,
719
+ :supported_token_auth_methods => :supportedTokenAuthMethods,
720
+ :supported_ui_locales => :supportedUiLocales,
721
+ :tls_client_certificate_bound_access_tokens => :tlsClientCertificateBoundAccessTokens,
722
+ :token_endpoint => :tokenEndpoint,
723
+ :tos_uri => :tosUri,
724
+ :trusted_root_certificates => :trustedRootCertificates,
725
+ :user_code_charset => :userCodeCharset,
726
+ :user_code_length => :userCodeLength,
727
+ :user_info_endpoint => :userInfoEndpoint,
728
+ :user_info_signature_key_id => :userInfoSignatureKeyId,
729
+ :mtls_endpoint_aliases => :mtlsEndpointAliases,
730
+ :pushed_auth_req_endpoint => :pushedAuthReqEndpoint,
731
+ :pushed_auth_req_duration => :pushedAuthReqDuration,
732
+ :supported_authorization_data_types => :supportedAuthorizationDataTypes,
733
+ :supported_trust_frameworks => :supportedTrustFrameworks,
734
+ :supported_evidence => :supportedEvidence,
735
+ :supported_identity_documents => :supportedIdentityDocuments,
736
+ :supported_verification_methods => :supportedVerificationMethods,
737
+ :supported_verified_claims => :supportedVerifiedClaims,
738
+ :missing_client_id_allowed => :missingClientIdAllowed,
739
+ :refresh_token_duration_kept => :refreshTokenDurationKept,
740
+ :par_required => :parRequired,
741
+ :request_object_required => :requestObjectRequired,
742
+ :traditional_request_object_processing_applied => :traditionalRequestObjectProcessingApplied
729
743
  }
730
744
 
731
745
  # The constructor
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.0.22"
19
+ VERSION = "1.0.23"
20
20
  end
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.22
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-20 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -129,7 +129,7 @@ homepage: https://www.authlete.com/
129
129
  licenses:
130
130
  - Apache License, Version 2.0
131
131
  metadata: {}
132
- post_install_message:
132
+ post_install_message:
133
133
  rdoc_options: []
134
134
  require_paths:
135
135
  - lib
@@ -144,8 +144,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.1.2
148
- signing_key:
147
+ rubyforge_project:
148
+ rubygems_version: 2.4.5.1
149
+ signing_key:
149
150
  specification_version: 4
150
151
  summary: A library for Authlete Web APIs
151
152
  test_files: []