Table of Contents

Class TokenOptions

Namespace
Codebelt.SharedKernel
Assembly
Codebelt.SharedKernel.dll

Configuration options for Token.

public class TokenOptions : IParameterObject
Inheritance
Object
TokenOptions
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.

PropertyInitial Value
MinimumLength32
MaximumLength128
MaximumCharacterFrequency4

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.