Table of Contents

Class HonuaOAuthClientCredentialsTokenProviderOptions

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

Options for the built-in OAuth/OIDC client-credentials token provider.

public sealed class HonuaOAuthClientCredentialsTokenProviderOptions
Inheritance
HonuaOAuthClientCredentialsTokenProviderOptions
Inherited Members

Properties

AdditionalParameters

Extra token endpoint parameters for identity-provider-specific requirements.

public IReadOnlyDictionary<string, string> AdditionalParameters { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Audience

Default audience or resource requested from the token endpoint.

public string? Audience { get; init; }

Property Value

string

ClientId

OAuth/OIDC client identifier.

public string ClientId { get; init; }

Property Value

string

ClientSecret

Optional OAuth/OIDC client secret. Do not use this in browser or mobile public-client builds.

public string? ClientSecret { get; init; }

Property Value

string

RefreshSkew

Token refresh skew applied before expiration. Defaults to five minutes.

public TimeSpan RefreshSkew { get; init; }

Property Value

TimeSpan

Scopes

Default scopes requested from the token endpoint.

public IReadOnlyList<string> Scopes { get; init; }

Property Value

IReadOnlyList<string>

TokenEndpoint

OAuth/OIDC token endpoint.

public Uri? TokenEndpoint { get; init; }

Property Value

Uri