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
Audience
Default audience or resource requested from the token endpoint.
public string? Audience { get; init; }
Property Value
AuthorizationCode
Initial authorization code to exchange when no refresh token is available.
public string? AuthorizationCode { get; init; }
Property Value
ClientId
OAuth/OIDC client identifier.
public string ClientId { get; init; }
Property Value
ClientSecret
Optional OAuth/OIDC client secret. Do not use this in browser or mobile public-client builds.
public string? ClientSecret { get; init; }
Property Value
CodeVerifier
Optional PKCE code verifier used for public-client authorization-code flows.
public string? CodeVerifier { get; init; }
Property Value
RedirectUri
Redirect URI used for the authorization-code exchange.
public Uri? RedirectUri { get; init; }
Property Value
RefreshSkew
Token refresh skew applied before expiration. Defaults to five minutes.
public TimeSpan RefreshSkew { get; init; }
Property Value
RefreshToken
Optional initial refresh token used instead of an authorization-code exchange.
public string? RefreshToken { get; init; }
Property Value
Scopes
Default scopes requested from the token endpoint.
public IReadOnlyList<string> Scopes { get; init; }
Property Value
TokenEndpoint
OAuth/OIDC token endpoint.
public Uri? TokenEndpoint { get; init; }