From 2e4206413706d92ceace620e2b9257465c21843f Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Thu, 29 Sep 2022 13:59:48 +0300 Subject: [PATCH] Update IdentityClientConfiguration.cs --- .../Volo/Abp/IdentityModel/IdentityClientConfiguration.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs b/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs index d31b95e231..8faf3225ab 100644 --- a/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs +++ b/framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs @@ -116,7 +116,9 @@ public class IdentityClientConfiguration : Dictionary string userName = null, string userPassword = null, bool requireHttps = true, - int cacheAbsoluteExpiration = 60 * 30) + int cacheAbsoluteExpiration = 60 * 30, + bool validateIssuerName = true, + bool validateEndpoints = true) { this[nameof(Authority)] = authority; this[nameof(Scope)] = scope; @@ -127,5 +129,7 @@ public class IdentityClientConfiguration : Dictionary this[nameof(UserPassword)] = userPassword; this[nameof(RequireHttps)] = requireHttps.ToString().ToLowerInvariant(); this[nameof(CacheAbsoluteExpiration)] = cacheAbsoluteExpiration.ToString(CultureInfo.InvariantCulture); + this[nameof(ValidateIssuerName)] = validateIssuerName.ToString().ToLowerInvariant(); + this[nameof(ValidateEndpoints)] = validateEndpoints.ToString().ToLowerInvariant(); } }