Class HonuaGrpcClientOptions
Configuration options for the Honua gRPC client.
public sealed class HonuaGrpcClientOptions : HonuaClientOptionsBase, IHonuaClientOptions, IHonuaAuthenticationOptions
- Inheritance
-
HonuaGrpcClientOptions
- Implements
- Inherited Members
Properties
AcceptedCompressionEncodings
Accepted gRPC compression algorithms advertised to the server.
public string AcceptedCompressionEncodings { get; set; }
Property Value
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 (sent as grpc-metadata header).
public string? ApiKey { get; set; }
Property Value
ApiKeyProvider
Optional API key provider invoked before each RPC. When configured, its value takes precedence over ApiKey; returning null or an empty string omits the API key metadata entry.
public Func<CancellationToken, Task<string?>>? ApiKeyProvider { get; set; }
Property Value
AuthenticationAudience
Default OAuth/OIDC audience or resource requested by the gRPC 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 gRPC 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 RPC. When configured, its value takes precedence over BearerToken; returning null or an empty string omits the authorization metadata entry.
public Func<CancellationToken, Task<string?>>? BearerTokenProvider { get; set; }
Property Value
EnableCompressionNegotiation
Enables gRPC compression negotiation for responses.
public bool EnableCompressionNegotiation { get; set; }