jellyfin/Jellyfin.Api/Constants/UserRoles.cs

24 lines
631 B
C#
Raw Normal View History

2019-11-24 10:25:43 -07:00
namespace Jellyfin.Api.Constants
2019-11-23 12:31:17 -07:00
{
/// <summary>
2019-11-24 10:25:43 -07:00
/// Constants for user roles used in the authentication and authorization for the API.
2019-11-23 12:31:17 -07:00
/// </summary>
2019-11-24 11:25:46 -07:00
public static class UserRoles
2019-11-23 12:31:17 -07:00
{
/// <summary>
/// Guest user.
/// </summary>
2019-11-24 10:25:43 -07:00
public const string Guest = "Guest";
2019-11-23 12:31:17 -07:00
/// <summary>
/// Regular user with no special privileges.
/// </summary>
2019-11-24 10:25:43 -07:00
public const string User = "User";
2019-11-23 12:31:17 -07:00
/// <summary>
/// Administrator user with elevated privileges.
/// </summary>
2019-11-24 10:25:43 -07:00
public const string Administrator = "Administrator";
2019-11-23 12:31:17 -07:00
}
}