Table of Contents

Class HonuaPortalClientOptions

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

Configuration options for the Honua Portal facade client.

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

Properties

AccessTokenProvider

Optional request-aware access token provider used when no Portal token is active.

public IHonuaAccessTokenProvider? AccessTokenProvider { get; set; }

Property Value

IHonuaAccessTokenProvider

ApiKey

API key for authentication when no Portal token is active.

public string? ApiKey { get; set; }

Property Value

string

ApiKeyProvider

Optional API key provider invoked before each request when no Portal token is active.

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

Property Value

Func<CancellationToken, Task<string>>

AuthenticationAudience

Default OAuth/OIDC audience or resource requested by fallback authentication providers.

public string? AuthenticationAudience { get; set; }

Property Value

string

AuthenticationDiagnostics

Optional sanitized authentication diagnostics callback.

public HonuaAuthenticationDiagnosticHandler? AuthenticationDiagnostics { get; set; }

Property Value

HonuaAuthenticationDiagnosticHandler

AuthenticationScopes

Default OAuth/OIDC scopes requested by fallback authentication providers.

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

Property Value

IReadOnlyList<string>

BearerToken

Bearer token for authentication when no Portal token is active.

public string? BearerToken { get; set; }

Property Value

string

BearerTokenProvider

Optional bearer token provider invoked before each request when no Portal token is active.

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

Property Value

Func<CancellationToken, Task<string>>

MaxResponseBytes

Maximum number of bytes read from a Portal JSON or error response body, defaulting to 64 MiB.

public long MaxResponseBytes { get; set; }

Property Value

long

Token

Optional pre-obtained Portal token attached to authenticated requests and propagated to opened FeatureServer clients.

public string? Token { get; set; }

Property Value

string