[WIP]
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
using DotBased.AspNet.Authority.Models.Data.Auth;
|
||||
|
||||
namespace DotBased.AspNet.Authority.Models.Data.System;
|
||||
|
||||
public class AboutModel
|
||||
{
|
||||
public string Name { get; set; } = "Authority.Server";
|
||||
public List<AuthenticationType> AuthenticationTypes { get; set; } = [];
|
||||
public List<AuthenticationSessionType> SessionTypes { get; set; } = [];
|
||||
}
|
@@ -0,0 +1,25 @@
|
||||
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; }
|
||||
}
|
@@ -22,6 +22,7 @@ public class SchemeInfo
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public SchemeType Type { get; set; }
|
||||
public string AuthenticationType { get; set; } = string.Empty;
|
||||
public string? Endpoint { get; set; }
|
||||
}
|
||||
|
||||
public enum SchemeType
|
||||
|
Reference in New Issue
Block a user