lib/authlete/model/service.rb in authlete-0.1.2 vs lib/authlete/model/service.rb in authlete-0.1.3

- old
+ new

@@ -59,10 +59,15 @@ # The URI of the authorization endpoint. (URI) attr_accessor :authorizationEndpoint alias_method :authorization_endpoint, :authorizationEndpoint alias_method :authorization_endpoint=, :authorizationEndpoint= + # The timestamp at which the service was created. (Integer) + attr_accessor :createdAt + alias_method :created_at, :createdAt + alias_method :created_at=, :createdAt= + # The description of this service. (String) attr_accessor :description # The duration of ID tokens in seconds. (Integer) attr_accessor :idTokenDuration @@ -78,18 +83,26 @@ # The URI of the service's JSON Web Key Set. (URI) attr_accessor :jwksUri alias_method :jwks_uri, :jwksUri alias_method :jwks_uri=, :jwksUri= + # The timestamp at which the service was modified. (Integer) + attr_accessor :modifiedAt + alias_method :modified_at, :modifiedAt + alias_method :modified_at=, :modifiedAt= + # The service number. (Integer) attr_accessor :number # The URI of the service's policy page. (URI) attr_accessor :policyUri alias_method :policy_uri, :policyUri alias_method :policy_uri=, :policyUri= + # The service properties. (Array) + attr_accessor :properties + # The duration of refresh tokens in seconds. (Integer) attr_accessor :refreshTokenDuration alias_method :refresh_token_duration, :refreshTokenDuration alias_method :refresh_token_duration=, :refreshTokenDuration= @@ -204,12 +217,12 @@ private # Integer attributes. INTEGER_ATTRIBUTES = ::Set.new([ - :accessTokenDuration, :apiKey, :idTokenDuration, :number, - :refreshTokenDuration, :serviceOwnerNumber + :accessTokenDuration, :apiKey, :createdAt, :idTokenDuration, + :modifiedAt, :number, :refreshTokenDuration, :serviceOwnerNumber ]) # String attributes. STRING_ATTRIBUTES = ::Set.new([ :accessTokenType, :apiSecret, :authenticationCallbackApiKey, @@ -219,11 +232,11 @@ :serviceName, :tokenEndpoint, :tosUri, :userInfoEndpoint ]) # String array attributes. STRING_ARRAY_ATTRIBUTES = ::Set.new([ - :supportedAcrs, :supportedClaimLocales, :supportedClaims, + :properties, :supportedAcrs, :supportedClaimLocales, :supportedClaims, :supportedClaimTypes, :supportedDisplays, :supportedGrantTypes, :supportedResponseTypes, :supportedSnses, :supportedTokenAuthMethods, :supportedUiLocales ]) @@ -235,11 +248,13 @@ :api_secret => :apiSecret, :authentication_callback_api_key => :authenticationCallbackApiKey, :authentication_callback_api_secret => :authenticationCallbackApiSecret, :authentication_callback_endpoint => :authenticationCallbackEndpoint, :authorization_endpoint => :authorizationEndpoint, + :created_at => :createdAt, :id_tokn_duration => :idTokenDuration, :jwks_uri => :jwksUri, + :modified_at => :modifiedAt, :policy_uri => :policyUri, :refresh_token_duration => :refreshTokenDuration, :registration_endpoint => :registrationEndpoint, :service_documentation => :serviceDocumentation, :service_name => :serviceName,