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
ApiKey
Static API key value.
string? ApiKey { get; }
Property Value
ApiKeyProvider
Request-time API key provider.
Func<CancellationToken, Task<string?>>? ApiKeyProvider { get; }
Property Value
AuthenticationAudience
Default OAuth/OIDC audience or resource requested by this client.
string? AuthenticationAudience { get; }
Property Value
AuthenticationDiagnostics
Optional diagnostics callback. SDK diagnostics never include raw credential values.
HonuaAuthenticationDiagnosticHandler? AuthenticationDiagnostics { get; }
Property Value
AuthenticationScopes
Default OAuth/OIDC scopes requested by this client.
IReadOnlyList<string> AuthenticationScopes { get; }
Property Value
BearerToken
Static bearer token value.
string? BearerToken { get; }
Property Value
BearerTokenProvider
Request-time bearer token provider.
Func<CancellationToken, Task<string?>>? BearerTokenProvider { get; }