[ADD] Implementing services/handlers
This commit is contained in:
@@ -6,5 +6,6 @@ public class AuthorityOptions
|
||||
public LockoutOptions Lockout { get; set; } = new();
|
||||
public PasswordOptions Password { get; set; } = new();
|
||||
public ProviderOptions Provider { get; set; } = new();
|
||||
public RepositoryOptions Repository { get; set; } = new();
|
||||
public UserOptions User { get; set; } = new();
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
namespace DotBased.AspNet.Authority.Models.Options;
|
||||
|
||||
public class RepositoryOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Use data encryption when a property has the <see cref="DotBased.AspNet.Authority.Attributes.ProtectAttribute"/> defined.
|
||||
/// <value>Default: true</value>
|
||||
/// </summary>
|
||||
public bool UseDataProtection { get; set; } = true;
|
||||
}
|
Reference in New Issue
Block a user