lib/authlete/model/service.rb in authlete-0.3.7.1 vs lib/authlete/model/service.rb in authlete-0.3.8
- old
+ new
@@ -97,38 +97,43 @@
alias_method :developer_sns_credentials=, :developerSnsCredentials=
# The flag to indicate whether the direct authorization endpoint
# is enabled or not. The path of the endpoint is
# <code>/api/auth/authorization/direct/{serviceApiKey}</code>
+ # (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 jwks endpoint
# is enabled or not. The path of the endpoint is
# <code>/api/service/jwks/get/direct/{serviceApiKey}</code>
+ # (Boolean)
attr_accessor :directJwksEndpointEnabled
alias_method :direct_jwks_endpoint_enabled, :directJwksEndpointEnabled
alias_method :direct_jwks_endpoint_enabled=, :directJwksEndpointEnabled=
# The flag to indicate whether the direct revocation endpoint
# is enabled or not. The path of the endpoint is
# <code>/api/auth/revocation/direct/{serviceApiKey}</code>
+ # (Boolean)
attr_accessor :directRevocationEndpointEnabled
alias_method :direct_revocation_endpoint_enabled, :directRevocationEndpointEnabled
alias_method :direct_revocation_endpoint_enabled=, :directRevocationEndpointEnabled=
# The flag to indicate whether the direct token endpoint
# is enabled or not. The path of the endpoint is
# <code>/api/auth/token/direct/{serviceApiKey}</code>
+ # (Boolean)
attr_accessor :directTokenEndpointEnabled
alias_method :direct_token_endpoint_enabled, :directTokenEndpointEnabled
alias_method :direct_token_endpoint_enabled=, :directTokenEndpointEnabled=
# The flag to indicate whether the direct user info endpoint
# is enabled or not. The path of the endpoint is
# <code>/api/auth/userinfo/direct/{serviceApiKey}</code>
+ # (Boolean)
attr_accessor :directUserInfoEndpointEnabled
alias_method :direct_user_info_endpoint_enabled, :directUserInfoEndpointEnabled
alias_method :direct_user_info_endpoint_enabled=, :directUserInfoEndpointEnabled=
# The duration of ID tokens in seconds. (Integer)
@@ -191,10 +196,16 @@
# The service owner number. (Integer)
attr_accessor :serviceOwnerNumber
alias_method :service_owner_number, :serviceOwnerNumber
alias_method :service_owner_number=, :serviceOwnerNumber=
+ # The flag to indicate whether the number of access tokens
+ # per subject (and per client) is at most one or can be more. (Boolean)
+ attr_accessor :singleAccessTokenPerSubject
+ alias_method :single_access_token_per_subject, :singleAccessTokenPerSubject
+ alias_method :single_access_token_per_subject=, :singleAccessTokenPerSubject=
+
# The list of SNS credentials. (SnsCredentials array)
attr_accessor :snsCredentials
alias_method :sns_credentials, :snsCredentials
alias_method :sns_credentials=, :snsCredentials=
@@ -296,11 +307,11 @@
])
# Boolean attributes.
BOOLEAN_ATTRIBUTES = ::Set.new([
:directAuthorizationEndpointEnabled, :directJwksEndpointEnabled, :directRevocationEndpointEnabled,
- :directTokenEndpointEnabled, :directUserInfoEndpointEnabled
+ :directTokenEndpointEnabled, :directUserInfoEndpointEnabled, :singleAccessTokenPerSubject
])
# String attributes.
STRING_ATTRIBUTES = ::Set.new([
:accessTokenType, :apiSecret, :authenticationCallbackApiKey,
@@ -348,9 +359,10 @@
:registration_endpoint => :registrationEndpoint,
:revocation_endpoint => :revocationEndpoint,
:service_documentation => :serviceDocumentation,
:service_name => :serviceName,
:service_owner_number => :serviceOwnerNumber,
+ :single_access_token_per_subject => :singleAccessTokenPerSubject,
:sns_credentials => :snsCredentials,
:supported_acrs => :supportedAcrs,
:supported_claim_locales => :supportedClaimLocales,
:supported_claims => :supportedClaims,
:supported_claim_types => :supportedClaimTypes,
\ No newline at end of file