The JinagaClientOptions class is used to configure a JinagaClient. It provides various options for setting the HTTP endpoint, authentication provider, and logging.
static readonly string DefaultReplicatorEndpoint = "http://localhost:8080/jinaga/"The default endpoint of the Docker container running the Jinaga replicator.
If you are using a Docker container for local development, set the HttpEndpoint property to this value.
"http://localhost:8080/jinaga/".string HttpEndpoint { get; set; }Specifies the endpoint of the Jinaga replicator. If this property is set to null, the client operates in local mode without a network connection.
null for local operation.IHttpAuthenticationProvider HttpAuthenticationProvider { get; set; }Specifies the strategy for authenticating with the Jinaga replicator.
Create an instance of your own class that implements IHttpAuthenticationProvider to provide authentication details.
The Jinaga.Maui library provides a default implementation of this interface.
IHttpAuthenticationProvider used to authenticate HTTP requests.ILoggerFactory LoggerFactory { get; set; }Specifies the factory for configuring logging. If not provided, logging is disabled by default.
ILoggerFactory used to configure logging, or null if logging is disabled.