Class HonuaSpecClientOptions
Options for the Honua spec client.
public sealed class HonuaSpecClientOptions : HonuaClientOptionsBase, IHonuaClientOptions, IHonuaAuthenticationOptions
- Inheritance
-
HonuaSpecClientOptions
- 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
ApiKey
API key for authentication.
public string? ApiKey { get; set; }
Property Value
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
AuthenticationAudience
Default OAuth/OIDC audience or resource requested by the spec client.
public string? AuthenticationAudience { get; set; }
Property Value
AuthenticationDiagnostics
Optional sanitized authentication diagnostics callback. Raw credential values are never supplied to this callback.
public HonuaAuthenticationDiagnosticHandler? AuthenticationDiagnostics { get; set; }
Property Value
AuthenticationScopes
Default OAuth/OIDC scopes requested by the spec client.
public IReadOnlyList<string> AuthenticationScopes { get; set; }
Property Value
BearerToken
Bearer token for authentication.
public string? BearerToken { get; set; }
Property Value
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; }