Class PortalSettings
Represents Developer Portal configuration settings.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class PortalSettings : IExtensibleDataObject, IValidator
  Constructors
PortalSettings()
Initializes new instance with the default settings.
Declaration
public PortalSettings()
  Fields
DefaultAccessKeyLength
Default length of the generated access key.
Declaration
public const int DefaultAccessKeyLength = 64
  Field Value
| Type | Description | 
|---|---|
| Int32 | 
DefaultAccessKeyLifetime
Default validity period of the generated access key.
Declaration
public const int DefaultAccessKeyLifetime = 180
  Field Value
| Type | Description | 
|---|---|
| Int32 | 
Properties
AccessKeyLength
Gets or sets the length of the generated access key (in characters). The value must be between 32 and 128. Default is 64.
Declaration
public int AccessKeyLength { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
AccessKeyLifetime
Gets or sets the validity period of the generated access key (in days). The value must be greater than 0 and less than 1825. Default is 180.
Declaration
public int AccessKeyLifetime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
ErrorMessage
Gets the summary of validation errors populated by the call to Validate() method.
Declaration
public string ErrorMessage { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ExtensionData
Gets or sets ExtensionDataObject that enables serialization round trips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ExtensionDataObject | 
Methods
Validate()
Validates this object's state.
Declaration
public bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if object's state is valid; otherwise, false.  |