lib/authlete/model/service.rb in authlete-0.4.7 vs lib/authlete/model/service.rb in authlete-0.4.8
- old
+ new
@@ -145,10 +145,16 @@
# The duration of ID tokens in seconds. (Integer)
attr_accessor :idTokenDuration
alias_method :id_token_duration, :idTokenDuration
alias_method :id_token_duration=, :idTokenDuration=
+ # The key ID to identify a JWK used for ID token signature using an
+ # asymmetric key. (String)
+ attr_accessor :idTokenSignatureKeyId
+ alias_method :id_token_signature_key_id, :idTokenSignatureKeyId
+ alias_method :id_token_signature_key_id=, :idTokenSignatureKeyId=
+
# The issuer identifier of this OpenID Provider. (URI)
attr_accessor :issuer
# The JSON Web Key Set of this service. (String)
attr_accessor :jwks
@@ -317,10 +323,16 @@
# The URI of user info endpoint. (URI)
attr_accessor :userInfoEndpoint
alias_method :user_info_endpoint, :userInfoEndpoint
alias_method :user_info_endpoint=, :userInfoEndpoint=
+ # The key ID to identify a JWK used for user info signature using an
+ # asymmetric key. (String)
+ attr_accessor :userInfoSignatureKeyId
+ alias_method :user_info_signature_key_id, :userInfoSignatureKeyId
+ alias_method :user_info_signature_key_id=, :userInfoSignatureKeyId=
+
private
# Integer attributes.
INTEGER_ATTRIBUTES = ::Set.new([
:accessTokenDuration, :apiKey, :clientsPerDeveloper, :createdAt,
@@ -339,12 +351,13 @@
STRING_ATTRIBUTES = ::Set.new([
:accessTokenType, :apiSecret, :authenticationCallbackApiKey,
:authenticationCallbackApiSecret, :authenticationCallbackEndpoint,
:authorizationEndpoint, :description, :developerAuthenticationCallbackApiKey,
:developerAuthenticationCallbackApiSecret, :developerAuthenticationCallbackEndpoint,
- :issuer, :jwks, :jwksUri, :policyUri, :registrationEndpoint, :serviceDocumentation,
- :serviceName, :tokenEndpoint, :tosUri, :userInfoEndpoint, :revocationEndpoint
+ :idTokenSignatureKeyId, :issuer, :jwks, :jwksUri, :policyUri, :registrationEndpoint,
+ :serviceDocumentation, :serviceName, :tokenEndpoint, :tosUri, :userInfoEndpoint,
+ :userInfoSignatureKeyId, :revocationEndpoint
])
# String array attributes.
STRING_ARRAY_ATTRIBUTES = ::Set.new([
:supportedAcrs, :supportedClaimLocales, :supportedClaims,
@@ -374,10 +387,11 @@
: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,
+ :id_token_signature_key_id => :idTokenSignatureKeyId,
:jwks_uri => :jwksUri,
:modified_at => :modifiedAt,
:pkce_required => :pkceRequired,
:policy_uri => :policyUri,
:refresh_token_duration => :refreshTokenDuration,
@@ -401,10 +415,11 @@
:supported_snses => :supportedSnses,
:supported_token_auth_methods => :supportedTokenAuthMethods,
:supported_ui_locales => :supportedUiLocales,
:token_endpoint => :tokenEndpoint,
:tos_uri => :tosUri,
- :user_info_endpoint => :userInfoEndpoint
+ :user_info_endpoint => :userInfoEndpoint,
+ :user_info_signature_key_id => :usrInfoSignatureKeyId
}
# The constructor
def initialize(hash = nil)
# Set default values to integer attributes.
\ No newline at end of file