Table of Contents

Class ApiServerParameters

Namespace
VAST.Network
Assembly
VAST.Network.dll

Contains configuration parameters for the VAST.Network.ApiServer. Defines authentication settings including user credentials, shared secret key, and token expiration.

public class ApiServerParameters
Inheritance
ApiServerParameters
Inherited Members

Constructors

ApiServerParameters()

public ApiServerParameters()

Properties

IsOnlineMode

Gets or sets a value indicating whether the API server operates in online mode. Online mode affects shared key token validation behavior. The default value is true.

public bool IsOnlineMode { get; set; }

Property Value

bool

SharedSecretKey

Gets or sets the shared secret key used for generating and validating shared key tokens. When set, the API server accepts shared key tokens in addition to session-based tokens.

public string SharedSecretKey { get; set; }

Property Value

string

SharedTokenExpiration

Gets or sets the optional expiration duration for shared key tokens. When null, the default expiration of the SharedKeyToken validator is used.

public TimeSpan? SharedTokenExpiration { get; set; }

Property Value

TimeSpan?

Users

Gets or sets the list of authorized users as username-password pairs. Used for credential-based authentication via the auth endpoint.

public SortedList<string, string> Users { get; set; }

Property Value

SortedList<string, string>