using System.Security.Claims;
namespace LANCommander.Server.Startup;
///
/// Well-known destination claim names recognized by the external authentication
/// provider login flow. Administrators map a provider's claims to these names via the
/// provider's ClaimMappings so the values can be projected onto LANCommander user
/// fields and roles.
///
public static class ProviderClaimTypes
{
/// External unique identifier. Required to link a provider login to a user.
public const string NameId = ClaimTypes.NameIdentifier;
/// Maps to the user's username.
public const string Username = ClaimTypes.Name;
/// Maps to the user's email address.
public const string Email = ClaimTypes.Email;
/// Maps to the user's display alias.
public const string Alias = "alias";
/// Holds one or more role names. The value(s) are used directly as role names.
public const string Roles = "role";
}