lib/authlete/model/service.rb in authlete-0.4.9 vs lib/authlete/model/service.rb in authlete-0.5.0
- old
+ new
@@ -108,10 +108,18 @@
# (Boolean)
attr_accessor :directAuthorizationEndpointEnabled
alias_method :direct_authorization_endpoint_enabled, :directAuthorizationEndpointEnabled
alias_method :direct_authorization_endpoint_enabled=, :directAuthorizationEndpointEnabled=
+ # The flag to indicate whether the direct introspection endpoint
+ # is enabled or not. The path of the endpoint is
+ # <code>/api/auth/introspection/direct/{serviceApiKey}</code>
+ # (Boolean)
+ attr_accessor :directIntrospectionEndpointEnabled
+ alias_method :direct_introspection_endpoint_enabled, :directIntrospectionEndpointEnabled
+ alias_method :direct_introspection_endpoint_enabled=, :directIntrospectionEndpointEnabled=
+
# The flag to indicate whether the direct jwks endpoint
# is enabled or not. The path of the endpoint is
# <code>/api/service/jwks/get/direct/{serviceApiKey}</code>
# (Boolean)
attr_accessor :directJwksEndpointEnabled
@@ -340,13 +348,14 @@
])
# Boolean attributes.
BOOLEAN_ATTRIBUTES = ::Set.new([
:clientIdAliasEnabled, :directAuthorizationEndpointEnabled,
- :directJwksEndpointEnabled, :directRevocationEndpointEnabled,
- :directTokenEndpointEnabled, :directUserInfoEndpointEnabled,
- :pkceRequired, :refreshTokenKept, :singleAccessTokenPerSubject
+ :directIntrospectionEndpointEnabled, :directJwksEndpointEnabled,
+ :directRevocationEndpointEnabled, :directTokenEndpointEnabled,
+ :directUserInfoEndpointEnabled, :pkceRequired, :refreshTokenKept,
+ :singleAccessTokenPerSubject
])
# String attributes.
STRING_ATTRIBUTES = ::Set.new([
:accessTokenType, :apiSecret, :authenticationCallbackApiKey,
@@ -382,9 +391,10 @@
:developer_sns_credentials => :developerSnsCredentials,
:client_id_alias_enabled => :clientIdAliasEnabled,
:clients_per_developer => :clientsPerDeveloper,
:created_at => :createdAt,
:direct_authorization_endpoint_enabled => :directAuthorizationEndpointEnabled,
+ :direct_introspection_endpoint_enabled => :directIntrospectionEndpointEnabled,
:direct_jwks_endpoint_enabled => :directJwksEndpointEnabled,
:direct_revocation_endpoint_enabled => :directRevocationEndpointEnabled,
:direct_token_endpoint_enabled => :directTokenEndpointEnabled,
:direct_user_info_endpoint_enabled => :directUserInfoEndpointEnabled,
:id_token_duration => :idTokenDuration,
\ No newline at end of file