Class TokenOptions
- Namespace
- Codebelt.SharedKernel
- Assembly
- Codebelt.SharedKernel.dll
Configuration options for Token.
public class TokenOptions : IParameterObject
- Inheritance
-
ObjectTokenOptions
- Implements
Constructors
TokenOptions()
Initializes a new instance of the TokenOptions class.
public TokenOptions()
Remarks
The following table shows the initial property values for an instance of TokenOptions.
Property | Initial Value |
---|---|
MinimumLength | 32 |
MaximumLength | 128 |
MaximumCharacterFrequency | 4 |
Properties
MaximumCharacterFrequency
Gets or sets the maximum character frequency of the Token.
public byte MaximumCharacterFrequency { get; set; }
Property Value
- Byte
The maximum character frequency of the Token.
Remarks
In the event that MaximumCharacterFrequency is greater than the MinimumLength, it will be set to the MinimumLength.
MaximumLength
Gets or sets the maximum length of the Token.
public byte MaximumLength { get; set; }
Property Value
- Byte
The maximum length of the Token.
MinimumLength
Gets or sets the minimum length of the Token.
public byte MinimumLength { get; set; }
Property Value
- Byte
The minimum length of the Token.