13 lines
541 B
C#
13 lines
541 B
C#
namespace FictionArchive.Service.Shared.Models.Authentication;
|
|
|
|
public class OidcConfiguration
|
|
{
|
|
public string Authority { get; set; } = string.Empty;
|
|
public string ClientId { get; set; } = string.Empty;
|
|
public string Audience { get; set; } = string.Empty;
|
|
public string? ValidIssuer { get; set; }
|
|
public bool ValidateIssuer { get; set; } = true;
|
|
public bool ValidateAudience { get; set; } = true;
|
|
public bool ValidateLifetime { get; set; } = true;
|
|
public bool ValidateIssuerSigningKey { get; set; } = true;
|
|
} |