14 lines
704 B
C#
14 lines
704 B
C#
namespace Knoks.Api.Authentication
|
|
{
|
|
public static class IdentityConsts
|
|
{
|
|
public const string ApiConsumerPolicy = "ApiConsumerPolicy"; //represent public functionality dor api consumer
|
|
public const string ApiUserPolicy = "ApiUserPolicy"; //represent user's functionality for api consumer and specific user. (for both public and private zones)
|
|
public const string ApiOperatorPolicy = "ApiOperatorPolicy"; //represent operators's functionality for api consumer and specific operator.
|
|
|
|
public const string ApiIdentifierClaim = "ApiIdentifier";
|
|
public const string UserIdClaim = "UserId";
|
|
public const string OperatorIdClaim = "OperatorId";
|
|
}
|
|
}
|