Skip to content

Config structure

public struct Config

Public Members

name description
Authentication { get; set; } The authentication method to use.
Database { get; set; } Optional: Sets the selected Database for queries.
Endpoint { get; set; } Remote database server endpoint (address and port) to connect to.
IsValidated { get; } Flag indicating a validated config.
JsonWebToken { get; set; } Database authentication Json Web Token to use when connecting.
Namespace { get; set; } Optional: Sets the selected Namespace for queries.
Password { get; set; } Database authentication password to use when connecting.
RestEndpoint { get; set; } The Uri of the rest endpoint of the REST client
RpcEndpoint { get; set; } Optional: Defines the RPC endpoint to use
Scope { get; set; } Optional: Sets the desired authentication scope for for a user.
Username { get; set; } Database authentication username to use when connecting.
MarkAsValidated() Marks the configuration as validated.
ThrowIfInvalid()
static Create() Begins configuration of a Config with fluent api.

See Also