Updated Authorization.cs namespace and added the claim value.

This commit is contained in:
James Tombleson 2023-08-06 13:30:18 -07:00
parent 7c88967f7f
commit a89c80ed3c

View File

@ -1,12 +1,13 @@
namespace Newsbot.Collector.Api.Domain;
namespace Newsbot.Collector.Api.Domain.Consts;
public static class Authorization
{
public const string AdministratorPolicy = "Administrator";
public const string AdministratorsRole = AdministratorPolicy;
public const string AdministratorClaim = "administrator";
public const string AdministratorsRole = AdministratorPolicy;
public const string UserPolicy = "User";
public const string UsersRole = UserPolicy;
public const string UserClaim = "user";
}