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
Audience
Default audience or resource requested from the token endpoint.
public string? Audience { 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
RefreshSkew
Token refresh skew applied before expiration. Defaults to five minutes.
public TimeSpan RefreshSkew { 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; }