lib/authlete/model/service.rb in authlete-1.10.0 vs lib/authlete/model/service.rb in authlete-1.11.0
- old
+ new
@@ -472,10 +472,14 @@
alias_method :grant_management_endpoint=, :grantManagementEndpoint=
attr_accessor :grantManagementActionRequired
alias_method :grant_management_action_required, :grantManagementActionRequired
alias_method :grant_management_action_required=, :grantManagementActionRequired=
+
+ attr_accessor :unauthorizedOnClientConfigSupported
+ alias_method :unauthorized_on_client_config_supported, :unauthorizedOnClientConfigSupported
+ alias_method :unauthorized_on_client_config_supported=, :unauthorizedOnClientConfigSupported=
private
def defaults
{
number: 0,
@@ -593,10 +597,11 @@
hsks: nil,
hsmEnabled: false,
refreshTokenDurationReset: false,
grantManagementEndpoint: nil,
grantManagementActionRequired: false,
+ unauthorizedOnClientConfigSupported: false
}
end
def set_params(hash)
@number = hash[:number]
@@ -714,9 +719,10 @@
@hsks = get_parsed_array(hash[:hsks]) { |e| Authlete::Model::Hsk.parse(e) }
@hsmEnabled = hash[:hsmEnabled]
@refreshTokenDurationReset = hash[:refreshTokenDurationReset]
@grantManagementEndpoint = hash[:grantManagementEndpoint]
@grantManagementActionRequired = hash[:grantManagementActionRequired]
+ @unauthorizedOnClientConfigSupported = hash[:unauthorizedOnClientConfigSupported]
end
def to_hash_value(key, var)
raw_val = instance_variable_get(var)