mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-06-07 08:56:19 +02:00
25 lines
843 B
C#
25 lines
843 B
C#
using DotBased.AspNet.Authority.Models.Data.Auth;
|
|
using DotBased.AspNet.Authority.Models.Options.Auth;
|
|
|
|
namespace DotBased.AspNet.Authority.Models.Data.System;
|
|
|
|
public class AuthorityInformation
|
|
{
|
|
public string ServerName { get; set; } = "Authority.Server";
|
|
public bool IsAuthenticated { get; set; }
|
|
public List<AuthenticationType> AuthenticationTypes { get; set; } = [];
|
|
public List<AuthenticationSessionType> SessionTypes { get; set; } = [];
|
|
public SchemeInformation? SchemeInformation { get; set; }
|
|
public AuthenticatedInformation? AuthenticatedInformation { get; set; }
|
|
}
|
|
|
|
public class SchemeInformation
|
|
{
|
|
public string? DefaultScheme { get; set; }
|
|
public List<SchemeInfo> AvailableSchemes { get; set; } = [];
|
|
}
|
|
|
|
public class AuthenticatedInformation
|
|
{
|
|
public string? AuthenticatedScheme { get; set; }
|
|
} |