Skip to main content

ClientSecretOptions Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Configuration

ClientSecretOptions Class

Configuration options for generating client secrets in OAuth2/OpenID Connect authentication.

public record ClientSecretOptions : System.IEquatable<Abblix.Oidc.Server.Common.Configuration.ClientSecretOptions>

Inheritance System.Object → ClientSecretOptions

Implements System.IEquatable<ClientSecretOptions>

Properties

ClientSecretOptions.ExpiresAfter Property

The expiration duration for the client secret. Defines how long after creation the secret will remain valid. Default value is 30 days.

public System.TimeSpan ExpiresAfter { get; init; }

Property Value

System.TimeSpan

ClientSecretOptions.Length Property

The length of the generated client secret. Specifies the number of characters in the secret. Default value is 16.

public int Length { get; init; }

Property Value

System.Int32