[CHANGE] Reworking auth schemes & services, handlers, etc.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace DotBased.AspNet.Authority.Models.Data.Auth;
|
||||
|
||||
public class AuthenticationSessionType
|
||||
{
|
||||
public string Id { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
namespace DotBased.AspNet.Authority.Models.Data.Auth;
|
||||
|
||||
public class AuthenticationType
|
||||
{
|
||||
public string Id { get; set; } = string.Empty;
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Provider { get; set; } = string.Empty;
|
||||
public bool Redirects { get; set; }
|
||||
public AuthenticationTypePaths Paths { get; set; } = new();
|
||||
}
|
||||
|
||||
public class AuthenticationTypePaths
|
||||
{
|
||||
public string Login { get; set; } = string.Empty;
|
||||
public string Logout { get; set; } = string.Empty;
|
||||
}
|
10
DotBased.AspNet.Authority/Models/Data/System/AboutModel.cs
Normal file
10
DotBased.AspNet.Authority/Models/Data/System/AboutModel.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
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; } = [];
|
||||
}
|
Reference in New Issue
Block a user