astral-api/Astral.Services/Constants/ClaimIds.cs

31 lines
699 B
C#

// <copyright file="ClaimIds.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
namespace Astral.Services.Constants;
/// <summary>
/// Collection of claim ids.
/// </summary>
public static class ClaimIds
{
/// <summary>
/// User Id claim.
/// </summary>
public const string UserId = "user-id";
/// <summary>
/// Username claim.
/// </summary>
public const string UserName = "user-name";
/// <summary>
/// User Role claim.
/// </summary>
public const string Role = "role";
/// <summary>
/// Token scope.
/// </summary>
public const string Scope = "scope";
}