Table of Contents

Class HonuaGeoServicesClientOptions

Namespace
Honua.Sdk.GeoServices
Assembly
Honua.Sdk.GeoServices.dll

Configuration options shared by the FeatureServer and OGC Features clients.

public sealed class HonuaGeoServicesClientOptions : HonuaClientOptionsBase, IHonuaClientOptions, IHonuaAuthenticationOptions
Inheritance
HonuaGeoServicesClientOptions
Implements
Inherited Members

Properties

AccessTokenProvider

Optional request-aware access token provider. When configured, this value takes precedence over BearerTokenProvider and BearerToken.

public IHonuaAccessTokenProvider? AccessTokenProvider { get; set; }

Property Value

IHonuaAccessTokenProvider

ApiKey

API key for authentication.

public string? ApiKey { get; set; }

Property Value

string

ApiKeyProvider

Optional API key provider invoked before each request. When configured, its value takes precedence over ApiKey; returning null or an empty string omits the API key header.

public Func<CancellationToken, Task<string?>>? ApiKeyProvider { get; set; }

Property Value

Func<CancellationToken, Task<string>>

AuthenticationAudience

Default OAuth/OIDC audience or resource requested by GeoServices clients.

public string? AuthenticationAudience { get; set; }

Property Value

string

AuthenticationDiagnostics

Optional sanitized authentication diagnostics callback. Raw credential values are never supplied to this callback.

public HonuaAuthenticationDiagnosticHandler? AuthenticationDiagnostics { get; set; }

Property Value

HonuaAuthenticationDiagnosticHandler

AuthenticationScopes

Default OAuth/OIDC scopes requested by GeoServices clients.

public IReadOnlyList<string> AuthenticationScopes { get; set; }

Property Value

IReadOnlyList<string>

BearerToken

Bearer token for authentication.

public string? BearerToken { get; set; }

Property Value

string

BearerTokenProvider

Optional bearer token provider invoked before each request. When configured, its value takes precedence over BearerToken; returning null or an empty string omits the authorization header.

public Func<CancellationToken, Task<string?>>? BearerTokenProvider { get; set; }

Property Value

Func<CancellationToken, Task<string>>

GeometryServiceId

Default GeoServices GeometryServer service id used by the geometry client.

public string GeometryServiceId { get; set; }

Property Value

string

RoutingClosestFacilityLayerName

Default NAServer closest-facility layer name used for nearest-facility requests.

public string RoutingClosestFacilityLayerName { get; set; }

Property Value

string

RoutingRouteLayerName

Default NAServer route layer name used for directions and route optimization.

public string RoutingRouteLayerName { get; set; }

Property Value

string

RoutingServiceAreaLayerName

Default NAServer service-area layer name used for isochrone requests.

public string RoutingServiceAreaLayerName { get; set; }

Property Value

string

RoutingServiceId

Default GeoServices NAServer service id used by routing clients.

public string RoutingServiceId { get; set; }

Property Value

string