[ADD] Added verifiers, validators & config.
This commit is contained in:
@@ -2,7 +2,7 @@ namespace DotBased.AspNet.Authority.Models.Authority;
|
||||
|
||||
public class AuthorityAttribute
|
||||
{
|
||||
public AuthorityAttribute(string attributeKey, string bound) : this()
|
||||
public AuthorityAttribute(string attributeKey, string bound)
|
||||
{
|
||||
AttributeKey = attributeKey;
|
||||
BoundId = bound;
|
||||
@@ -10,7 +10,8 @@ public class AuthorityAttribute
|
||||
|
||||
public AuthorityAttribute()
|
||||
{
|
||||
|
||||
AttributeKey = string.Empty;
|
||||
BoundId = string.Empty;
|
||||
}
|
||||
|
||||
public string AttributeKey { get; set; } // ClaimType/Authority.attribute.enabled
|
||||
|
@@ -2,7 +2,7 @@ namespace DotBased.AspNet.Authority.Models.Options;
|
||||
|
||||
public class SignInOptions
|
||||
{
|
||||
public bool RequireValidatedEmail { get; set; }
|
||||
public bool RequireValidatedPhoneNumber { get; set; }
|
||||
public bool RequireVerifiedEmail { get; set; }
|
||||
public bool RequireVerifiedPhoneNumber { get; set; }
|
||||
public bool RequireConfirmedAccount { get; set; }
|
||||
}
|
Reference in New Issue
Block a user