diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientIdPRestrictionConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientIdPRestrictionConsts.cs
index c71301871a..b238a01935 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientIdPRestrictionConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientIdPRestrictionConsts.cs
@@ -2,6 +2,9 @@
{
public class ClientIdPRestrictionConsts
{
- public const int ProviderMaxLength = 200;
+ ///
+ /// Default value: 200
+ ///
+ public static int ProviderMaxLength { get; set; } = 200;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPostLogoutRedirectUriConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPostLogoutRedirectUriConsts.cs
index 3092232d47..7d4764e1a3 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPostLogoutRedirectUriConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPostLogoutRedirectUriConsts.cs
@@ -2,7 +2,10 @@
{
public class ClientPostLogoutRedirectUriConsts
{
- public const int PostLogoutRedirectUriMaxLength = 2000;
+ ///
+ /// Default value: 200
+ ///
+ public static int PostLogoutRedirectUriMaxLength { get; set; } = 2000;
public static int PostLogoutRedirectUriMaxLengthValue { get; set; } = 2000;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPropertyConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPropertyConsts.cs
index 6535304596..664e1076b0 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPropertyConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientPropertyConsts.cs
@@ -2,7 +2,14 @@
{
public class ClientPropertyConsts
{
- public const int KeyMaxLength = 250;
- public const int ValueMaxLength = 2000;
+ ///
+ /// Default value: 250
+ ///
+ public static int KeyMaxLength { get; set; } = 250;
+
+ ///
+ /// Default value: 2000
+ ///
+ public static int ValueMaxLength { get; set; } = 2000;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientRedirectUriConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientRedirectUriConsts.cs
index e972388487..7650a3d952 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientRedirectUriConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientRedirectUriConsts.cs
@@ -2,7 +2,10 @@
{
public class ClientRedirectUriConsts
{
- public const int RedirectUriMaxLength = 2000;
+ ///
+ /// Default value: 2000
+ ///
+ public static int RedirectUriMaxLength { get; set; } = 2000;
public static int RedirectUriMaxLengthValue { get; set; } = 2000;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientScopeConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientScopeConsts.cs
index 6a5b62e692..0ec1c04595 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientScopeConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Clients/ClientScopeConsts.cs
@@ -2,6 +2,9 @@
{
public class ClientScopeConsts
{
- public const int ScopeMaxLength = 200;
+ ///
+ /// Default value: 200
+ ///
+ public static int ScopeMaxLength { get; set; } = 200;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Grants/PersistedGrantConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Grants/PersistedGrantConsts.cs
index 6d0836ab17..b1dd21d6f8 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Grants/PersistedGrantConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/Grants/PersistedGrantConsts.cs
@@ -2,11 +2,34 @@
{
public class PersistedGrantConsts
{
- public const int KeyMaxLength = 200;
- public const int TypeMaxLength = 50;
- public const int SubjectIdMaxLength = 200;
- public const int ClientIdMaxLength = 200;
- public const int DataMaxLength = 50000;
- public static int DataMaxLengthValue { get; set; }= 50000;
+ ///
+ /// Default value: 200
+ ///
+ public static int KeyMaxLength { get; set; } = 200;
+
+ ///
+ /// Default value: 50
+ ///
+ public static int TypeMaxLength { get; set; } = 50;
+
+ ///
+ /// Default value: 200
+ ///
+ public static int SubjectIdMaxLength { get; set; } = 200;
+
+ ///
+ /// Default value: 200
+ ///
+ public static int ClientIdMaxLength { get; set; } = 200;
+
+ ///
+ /// Default value: 50000
+ ///
+ public static int DataMaxLength { get; set; } = 50000;
+
+ ///
+ /// Default value: 50000
+ ///
+ public static int DataMaxLengthValue { get; set; } = 50000;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/IdentityResources/IdentityResourceConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/IdentityResources/IdentityResourceConsts.cs
index c60cc34ad8..a7c713e161 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/IdentityResources/IdentityResourceConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/IdentityResources/IdentityResourceConsts.cs
@@ -2,8 +2,19 @@
{
public class IdentityResourceConsts
{
- public const int NameMaxLength = 200;
- public const int DisplayNameMaxLength = 200;
- public const int DescriptionMaxLength = 1000;
+ ///
+ /// Default value: 200
+ ///
+ public static int NameMaxLength { get; set; } = 200;
+
+ ///
+ /// Default value: 200
+ ///
+ public static int DisplayNameMaxLength { get; set; } = 200;
+
+ ///
+ /// Default value: 200
+ ///
+ public static int DescriptionMaxLength { get; set; } = 1000;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/SecretConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/SecretConsts.cs
index 76635e322e..156088a97b 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/SecretConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/SecretConsts.cs
@@ -2,9 +2,21 @@
{
public class SecretConsts
{
- public const int TypeMaxLength = 250;
- public const int ValueMaxLength = 4000;
+ ///
+ /// Default value: 250
+ ///
+ public static int TypeMaxLength { get; set; } = 250;
+
+ ///
+ /// Default value: 4000
+ ///
+ public static int ValueMaxLength { get; set; } = 4000;
+
public static int ValueMaxLengthValue { get; set; } = ValueMaxLength;
- public const int DescriptionMaxLength = 2000;
+
+ ///
+ /// Default value: 2000
+ ///
+ public static int DescriptionMaxLength { get; set; } = 2000;
}
}
\ No newline at end of file
diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/UserClaimConsts.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/UserClaimConsts.cs
index 9133482f1f..cb0279fd2b 100644
--- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/UserClaimConsts.cs
+++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain.Shared/Volo/Abp/IdentityServer/UserClaimConsts.cs
@@ -2,6 +2,9 @@
{
public class UserClaimConsts
{
- public const int TypeMaxLength = 200;
+ ///
+ /// Default value: 200
+ ///
+ public static int TypeMaxLength { get; set; } = 200;
}
}
\ No newline at end of file