Table of Contents

Class CbmsConnectionOptions

Namespace
SEBT.Portal.StatePlugins.CO.Cbms
Assembly
SEBT.Portal.StatePlugins.CO.dll

Connection options for the CBMS SEBT API. Built from configuration and environment variables.

public sealed record CbmsConnectionOptions
Inheritance
object
CbmsConnectionOptions

Constructors

CbmsConnectionOptions(string, string, string, string, bool)

Connection options for the CBMS SEBT API. Built from configuration and environment variables.

public CbmsConnectionOptions(string ClientId, string ClientSecret, string ApiBaseUrl, string TokenEndpointUrl, bool UseMockResponses = false)

Parameters

ClientId string
ClientSecret string
ApiBaseUrl string
TokenEndpointUrl string
UseMockResponses bool

Properties

ApiBaseUrl

public string ApiBaseUrl { get; init; }

Property Value

string

ClientId

public string ClientId { get; init; }

Property Value

string

ClientSecret

public string ClientSecret { get; init; }

Property Value

string

IsConfigured

True when real credentials are configured or mock responses are enabled.

public bool IsConfigured { get; }

Property Value

bool

TokenEndpointUrl

public string TokenEndpointUrl { get; init; }

Property Value

string

UseMockResponses

public bool UseMockResponses { get; init; }

Property Value

bool