ow
This commit is contained in:
commit
f05d2d215f
678 files changed
+73865
No files matched your search
@@ -0,0 +1,23 @@
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CloudBuilder.Security.Policy
|
||||
{
|
||||
[TypeScript]
|
||||
public class SecurityUserPolicy
|
||||
{
|
||||
/// <summary>
|
||||
/// 普通用户首次注册给予的角色
|
||||
/// </summary>
|
||||
public const string SECURITY_USER_BASE_ACTOR = "SecurityUserBaseActor";
|
||||
|
||||
/// <summary>
|
||||
/// 用户登录可以出错的次数
|
||||
/// </summary>
|
||||
public const int ERROR_LOGIN_COUNT = 5;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user