lib/authlete/model/service.rb in authlete-1.25.0 vs lib/authlete/model/service.rb in authlete-1.26.0
- old
+ new
@@ -601,10 +601,14 @@
attr_accessor :federationConfigurationDuration
alias_method :federation_configuration_duration, :federationConfigurationDuration
alias_method :federation_configuration_duration=, :federationConfigurationDuration=
+ attr_accessor :dcrDuplicateSoftwareIdBlocked
+ alias_method :dcr_duplicate_software_id_blocked, :dcrDuplicateSoftwareIdBlocked
+ alias_method :dcr_duplicate_software_id_blocked=, :dcrDuplicateSoftwareIdBlocked=
+
private
def defaults
{
number: 0,
@@ -754,10 +758,11 @@
jwtGrantByIdentifiableClientsOnly: false,
jwtGrantEncryptedJwtRejected: false,
jwtGrantUnsignedJwtRejected: false,
federationSignatureKeyId: nil,
federationConfigurationDuration: 0,
+ dcrDuplicateSoftwareIdBlocked: false,
}
end
def set_params(hash)
@number = hash[:number]
@@ -907,9 +912,10 @@
@jwtGrantByIdentifiableClientsOnly = hash[:jwtGrantByIdentifiableClientsOnly]
@jwtGrantEncryptedJwtRejected = hash[:jwtGrantEncryptedJwtRejected]
@jwtGrantUnsignedJwtRejected = hash[:jwtGrantUnsignedJwtRejected]
@federationSignatureKeyId = hash[:federationSignatureKeyId]
@federationConfigurationDuration = hash[:federationConfigurationDuration]
+ @dcrDuplicateSoftwareIdBlocked = hash[:dcrDuplicateSoftwareIdBlocked]
end
def to_hash_value(key, var)
raw_val = instance_variable_get(var)