|
|
|
@ -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; |
|
|
|
/// <summary>
|
|
|
|
/// Default value: 200
|
|
|
|
/// </summary>
|
|
|
|
public static int KeyMaxLength { get; set; } = 200; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Default value: 50
|
|
|
|
/// </summary>
|
|
|
|
public static int TypeMaxLength { get; set; } = 50; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Default value: 200
|
|
|
|
/// </summary>
|
|
|
|
public static int SubjectIdMaxLength { get; set; } = 200; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Default value: 200
|
|
|
|
/// </summary>
|
|
|
|
public static int ClientIdMaxLength { get; set; } = 200; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Default value: 50000
|
|
|
|
/// </summary>
|
|
|
|
public static int DataMaxLength { get; set; } = 50000; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Default value: 50000
|
|
|
|
/// </summary>
|
|
|
|
public static int DataMaxLengthValue { get; set; } = 50000; |
|
|
|
} |
|
|
|
} |