Table of Contents

Class HonuaOAuthAuthorizationCodeTokenProviderOptions

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

Options for the built-in OAuth/OIDC authorization-code token provider.

public sealed class HonuaOAuthAuthorizationCodeTokenProviderOptions
Inheritance
HonuaOAuthAuthorizationCodeTokenProviderOptions
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

AuthorizationCode

Initial authorization code to exchange when no refresh token is available.

public string? AuthorizationCode { 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

CodeVerifier

Optional PKCE code verifier used for public-client authorization-code flows.

public string? CodeVerifier { get; init; }

Property Value

string

RedirectUri

Redirect URI used for the authorization-code exchange.

public Uri? RedirectUri { get; init; }

Property Value

Uri

RefreshSkew

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

public TimeSpan RefreshSkew { get; init; }

Property Value

TimeSpan

RefreshToken

Optional initial refresh token used instead of an authorization-code exchange.

public string? RefreshToken { get; init; }

Property Value

string

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