Browse Source

Added summaries to identity module

pull/4527/head
Ahmet Çotur 6 years ago
parent
commit
72e58df483
  1. 19
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityClaimTypeConsts.cs
  2. 11
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityRoleConsts.cs
  3. 6
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserClaimConsts.cs
  4. 14
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserConsts.cs
  5. 11
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserLoginConsts.cs
  6. 6
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserTokenConsts.cs

19
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityClaimTypeConsts.cs

@ -2,10 +2,29 @@
{
public class IdentityClaimTypeConsts
{
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxNameLength { get; set; } = 256;
/// <summary>
/// Default value: 512
/// </summary>
public static int MaxRegexLength { get; set; } = 512;
/// <summary>
/// Default value: 128
/// </summary>
public static int MaxRegexDescriptionLength { get; set; } = 128;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxDescriptionLength { get; set; } = 256;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxConcurrencyStampLength { get; set; } = 256;
}
}

11
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityRoleConsts.cs

@ -2,8 +2,19 @@
{
public static class IdentityRoleConsts
{
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxNameLength { get; set; } = 256;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxNormalizedNameLength { get; set; } = 256;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxConcurrencyStampLength { get; set; } = 256;
}
}

6
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserClaimConsts.cs

@ -2,8 +2,14 @@
{
public static class IdentityUserClaimConsts
{
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxClaimTypeLength { get; set; } = 256;
/// <summary>
/// Default value: 1024
/// </summary>
public static int MaxClaimValueLength { get; set; } = 1024;
}
}

14
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserConsts.cs

@ -18,12 +18,24 @@ namespace Volo.Abp.Identity
public static int MaxPhoneNumberLength { get; set; } = AbpUserConsts.MaxPhoneNumberLength;
/// <summary>
/// Default value: 128
/// </summary>
public static int MaxPasswordLength { get; set; } = 128;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxPasswordHashLength { get; set; } = 256;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxSecurityStampLength { get; set; } = 256;
/// <summary>
/// Default value: 256
/// </summary>
public static int MaxConcurrencyStampLength { get; set; } = 256;
}
}

11
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserLoginConsts.cs

@ -2,8 +2,19 @@
{
public static class IdentityUserLoginConsts
{
/// <summary>
/// Default value: 64
/// </summary>
public static int MaxLoginProviderLength { get; set; } = 64;
/// <summary>
/// Default value: 196
/// </summary>
public static int MaxProviderKeyLength { get; set; } = 196;
/// <summary>
/// Default value: 128
/// </summary>
public static int MaxProviderDisplayNameLength { get; set; } = 128;
}
}

6
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityUserTokenConsts.cs

@ -2,8 +2,14 @@
{
public static class IdentityUserTokenConsts
{
/// <summary>
/// Default value: 64
/// </summary>
public static int MaxLoginProviderLength { get; set; } = 64;
/// <summary>
/// Default value: 128
/// </summary>
public static int MaxNameLength { get; set; } = 128;
}
}

Loading…
Cancel
Save