mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-05-16 07:17:54 +02:00
14 lines
321 B
C#
14 lines
321 B
C#
namespace DotBased.AspNet.Authority.Models.Options.Auth;
|
|
|
|
public class AuthenticationSecurityOptions
|
|
{
|
|
public SecurityMode SecurityMode { get; set; } = SecurityMode.Normal;
|
|
public List<string> AllowedLoginMethods { get; set; } = ["*"];
|
|
}
|
|
|
|
public enum SecurityMode
|
|
{
|
|
Loose = 0,
|
|
Normal = 1,
|
|
Strict = 2
|
|
} |