1
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace Yes.Infrastructure.Authorizations.User
|
||||
{
|
||||
|
||||
|
||||
public class PageAuthorizeAttribute : AuthorizeAttribute
|
||||
{
|
||||
public PageAuthorizeAttribute()
|
||||
{
|
||||
AuthenticationSchemes = "admin";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user