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 +5 -5
- data/lib/authlete/model/client.rb +9 -2
- data/lib/authlete/model/service.rb +108 -94
- data/lib/authlete/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ad28a48d4a810e9518ef0d5ab526020b44009e3b
|
4
|
+
data.tar.gz: 5aa75eb7364fe2d1685a9f0d908b6dc868ab61fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
637
|
-
:access_token_sign_alg
|
638
|
-
:access_token_signature_key_id
|
639
|
-
:access_token_type
|
640
|
-
:allowable_clock_skew
|
641
|
-
:api_key
|
642
|
-
:api_secret
|
643
|
-
:authentication_callback_api_key
|
644
|
-
:authentication_callback_api_secret
|
645
|
-
:authentication_callback_endpoint
|
646
|
-
:authorization_endpoint
|
647
|
-
:authorization_response_duration
|
648
|
-
:authorization_signature_key_id
|
649
|
-
:backchannel_authentication_endpoint
|
650
|
-
:backchannel_binding_message_required_in_fapi
|
651
|
-
:backchannel_auth_req_id_duration
|
652
|
-
:backchannel_polling_interval
|
653
|
-
:backchannel_user_code_parameter_supported
|
654
|
-
:developer_authentication_callback_api_key
|
655
|
-
:developer_authentication_callback_api_secret
|
656
|
-
:developer_authentication_callback_endpoint
|
657
|
-
:developer_sns_credentials
|
658
|
-
:device_authorization_endpoint
|
659
|
-
:device_flow_code_duration
|
660
|
-
:device_flow_polling_interval
|
661
|
-
:device_verification_uri
|
662
|
-
:device_verification_uri_complete
|
663
|
-
:client_id_alias_enabled
|
664
|
-
:clients_per_developer
|
665
|
-
:created_at
|
666
|
-
:direct_authorization_endpoint_enabled
|
667
|
-
:direct_introspection_endpoint_enabled
|
668
|
-
:direct_jwks_endpoint_enabled
|
669
|
-
:direct_revocation_endpoint_enabled
|
670
|
-
:direct_token_endpoint_enabled
|
671
|
-
:direct_user_info_endpoint_enabled
|
672
|
-
:dynamic_registration_supported
|
673
|
-
:error_description_omitted
|
674
|
-
:error_uri_omitted
|
675
|
-
:id_token_duration
|
676
|
-
:id_token_signature_key_id
|
677
|
-
:introspection_endpoint
|
678
|
-
:jwks_uri
|
679
|
-
:modified_at
|
680
|
-
:mutual_tls_validate_pki_cert_chain
|
681
|
-
:pkce_required
|
682
|
-
:pkce_s256_required
|
683
|
-
:policy_uri
|
684
|
-
:refresh_token_duration
|
685
|
-
:refresh_token_kept
|
686
|
-
:registration_endpoint
|
687
|
-
:registration_management_endpoint
|
688
|
-
:revocation_endpoint
|
689
|
-
:request_object_endpoint
|
690
|
-
:service_documentation
|
691
|
-
:service_name
|
692
|
-
:service_owner_number
|
693
|
-
:single_access_token_per_subject
|
694
|
-
:sns_credentials
|
695
|
-
:supported_acrs
|
696
|
-
:supported_backchannel_token_delivery_modes
|
697
|
-
:supported_claim_locales
|
698
|
-
:supported_claims
|
699
|
-
:supported_claim_types
|
700
|
-
:supported_developer_snses
|
701
|
-
:supported_displays
|
702
|
-
:supported_grant_types
|
703
|
-
:supported_response_types
|
704
|
-
:supported_scopes
|
705
|
-
:supported_service_profiles
|
706
|
-
:supported_snses
|
707
|
-
:supported_token_auth_methods
|
708
|
-
:supported_ui_locales
|
709
|
-
:tls_client_certificate_bound_access_tokens
|
710
|
-
:token_endpoint
|
711
|
-
:tos_uri
|
712
|
-
:trusted_root_certificates
|
713
|
-
:user_code_charset
|
714
|
-
:user_code_length
|
715
|
-
:user_info_endpoint
|
716
|
-
:user_info_signature_key_id
|
717
|
-
:mtls_endpoint_aliases
|
718
|
-
:pushed_auth_req_endpoint
|
719
|
-
:pushed_auth_req_duration
|
720
|
-
:supported_authorization_data_types
|
721
|
-
:supported_trust_frameworks
|
722
|
-
:supported_evidence
|
723
|
-
:supported_identity_documents
|
724
|
-
:supported_verification_methods
|
725
|
-
:supported_verified_claims
|
726
|
-
:missing_client_id_allowed
|
727
|
-
:refresh_token_duration_kept
|
728
|
-
:par_required
|
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
|
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.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-
|
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
|
-
|
148
|
-
|
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: []
|