Table of Contents

Interface IHonuaAuthenticationOptions

Namespace
Honua.Sdk.Abstractions.Authentication
Assembly
Honua.Sdk.Abstractions.dll

Shared authentication options implemented by Honua SDK client options.

public interface IHonuaAuthenticationOptions

Properties

AccessTokenProvider

Request-aware access token provider. When configured, this takes precedence over bearer token delegates.

IHonuaAccessTokenProvider? AccessTokenProvider { get; }

Property Value

IHonuaAccessTokenProvider

ApiKey

Static API key value.

string? ApiKey { get; }

Property Value

string

ApiKeyProvider

Request-time API key provider.

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

Property Value

Func<CancellationToken, Task<string>>

AuthenticationAudience

Default OAuth/OIDC audience or resource requested by this client.

string? AuthenticationAudience { get; }

Property Value

string

AuthenticationDiagnostics

Optional diagnostics callback. SDK diagnostics never include raw credential values.

HonuaAuthenticationDiagnosticHandler? AuthenticationDiagnostics { get; }

Property Value

HonuaAuthenticationDiagnosticHandler

AuthenticationScopes

Default OAuth/OIDC scopes requested by this client.

IReadOnlyList<string> AuthenticationScopes { get; }

Property Value

IReadOnlyList<string>

BearerToken

Static bearer token value.

string? BearerToken { get; }

Property Value

string

BearerTokenProvider

Request-time bearer token provider.

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

Property Value

Func<CancellationToken, Task<string>>