// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Security.Claims;
namespace Microsoft.AspNetCore.Identity
{
///
/// Options used to configure the claim types used for well known claims.
///
public class ClaimsIdentityOptions
{
///
/// Gets or sets the ClaimType used for a Role claim. Defaults to .
///
public string RoleClaimType { get; set; } = ClaimTypes.Role;
///
/// Gets or sets the ClaimType used for the user name claim. Defaults to .
///
public string UserNameClaimType { get; set; } = ClaimTypes.Name;
///
/// Gets or sets the ClaimType used for the user identifier claim. Defaults to .
///
public string UserIdClaimType { get; set; } = ClaimTypes.NameIdentifier;
///
/// Gets or sets the ClaimType used for the security stamp claim. Defaults to "AspNet.Identity.SecurityStamp".
///
public string SecurityStampClaimType { get; set; } = "AspNet.Identity.SecurityStamp";
}
}