Secret Constructor
Definition
- Namespace
- Codebelt.SharedKernel.Security
- Assemblies
- Codebelt.SharedKernel.dll
Secret(Guid)
Initializes a new instance of the Secret class.
public Secret(Guid value)
Parameters
Secret(string)
Initializes a new instance of the Secret class.
public Secret(string value)
Parameters
Exceptions
- ArgumentNullException
valuecannot be null.- ArgumentException
valuecannot be empty or consist only of white-space characters.- ArgumentOutOfRangeException
valuecontained one or more white-space characters -or-valuewas less than 32 characters -or-valuewas greater than 128 characters -or-valueconsist only of same repeated character.