Saltar al contenido
Abblix
Esta página aún no está traducida.

ClientSecretOptions Class

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

C#
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.

C#
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.

C#
public int Length { get; init; }

Property Value

System.Int32