Class MoongateHttpServiceOptions
Configuration options for MoongateHttpService.
public sealed class MoongateHttpServiceOptions
- Inheritance
-
MoongateHttpServiceOptions
- Inherited Members
Properties
AuthenticateUserAsync
Optional authentication callback used by the login endpoint.
public Func<string, string, CancellationToken, Task<MoongateHttpAuthenticatedUser?>>? AuthenticateUserAsync { get; init; }
Property Value
ConfigureApp
Optional callback for extra endpoint/middleware registrations.
public Action<WebApplication>? ConfigureApp { get; init; }
Property Value
DirectoriesConfig
Shared directories configuration used by the server.
public DirectoriesConfig? DirectoriesConfig { get; init; }
Property Value
- DirectoriesConfig
IsOpenApiEnabled
Enables OpenAPI endpoints.
public bool IsOpenApiEnabled { get; init; }
Property Value
Jwt
Optional JWT authentication options.
public MoongateHttpJwtOptions? Jwt { get; init; }
Property Value
MetricsSnapshotFactory
Optional factory used by the built-in /metrics endpoint.
public Func<MoongateHttpMetricsSnapshot?>? MetricsSnapshotFactory { get; init; }
Property Value
MinimumLogLevel
Minimum log level for HTTP logs.
public LogEventLevel MinimumLogLevel { get; init; }
Property Value
- LogEventLevel
Port
HTTP listening port.
public int Port { get; init; }
Property Value
ServiceMappings
Optional service mappings exposed to the internal ASP.NET Core container.
public IReadOnlyDictionary<Type, Type>? ServiceMappings { get; init; }