Class IdentityAspNetCoreOptions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Identity.AspNetCore.Configuration
Assembly: Cephalon.Identity.AspNetCore.dll
Describes ASP.NET Core-specific identity and authorization adapter options for Cephalon.
public sealed class IdentityAspNetCoreOptionsInheritance
Section titled “Inheritance”object ← IdentityAspNetCoreOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”IdentityAspNetCoreOptions()
Section titled “ IdentityAspNetCoreOptions()”Initializes a new instance of the
public IdentityAspNetCoreOptions()Properties
Section titled “Properties”AllowIdentityNameAsSubjectIdFallback
Section titled “ AllowIdentityNameAsSubjectIdFallback”Gets or sets a value indicating whether
public bool AllowIdentityNameAsSubjectIdFallback { get; set; }Property Value
Section titled “Property Value”AuthorizationDecisionItemKey
Section titled “ AuthorizationDecisionItemKey”Gets or sets the
public string AuthorizationDecisionItemKey { get; set; }Property Value
Section titled “Property Value”DisplayNameClaimTypes
Section titled “ DisplayNameClaimTypes”Gets the claim types that can provide the human-readable display name for the current subject.
public List<string> DisplayNameClaimTypes { get; }Property Value
Section titled “Property Value”IncludeAllClaimsAsSubjectAttributes
Section titled “ IncludeAllClaimsAsSubjectAttributes”Gets or sets a value indicating whether unmatched claims should be projected into
public bool IncludeAllClaimsAsSubjectAttributes { get; set; }Property Value
Section titled “Property Value”IncludeHeadersAsContextAttributes
Section titled “ IncludeHeadersAsContextAttributes”Gets or sets a value indicating whether request headers should be projected into
public bool IncludeHeadersAsContextAttributes { get; set; }Property Value
Section titled “Property Value”IncludeQueryStringAsContextAttributes
Section titled “ IncludeQueryStringAsContextAttributes”Gets or sets a value indicating whether query-string values should be projected into
public bool IncludeQueryStringAsContextAttributes { get; set; }Property Value
Section titled “Property Value”IncludeRouteValuesAsResourceAttributes
Section titled “ IncludeRouteValuesAsResourceAttributes”Gets or sets a value indicating whether route values should be projected into
public bool IncludeRouteValuesAsResourceAttributes { get; set; }Property Value
Section titled “Property Value”OwnerSubjectIdRouteKeys
Section titled “ OwnerSubjectIdRouteKeys”Gets the route-value keys that can provide the owning subject identifier for the current resource.
public List<string> OwnerSubjectIdRouteKeys { get; }Property Value
Section titled “Property Value”ResourceIdRouteKeys
Section titled “ ResourceIdRouteKeys”Gets the route-value keys that can provide the current resource identifier.
public List<string> ResourceIdRouteKeys { get; }Property Value
Section titled “Property Value”RoleClaimTypes
Section titled “ RoleClaimTypes”Gets the claim types that can provide role memberships for the current subject.
public List<string> RoleClaimTypes { get; }Property Value
Section titled “Property Value”SubjectIdClaimTypes
Section titled “ SubjectIdClaimTypes”Gets the claim types that can provide the stable Cephalon authorization subject identifier.
public List<string> SubjectIdClaimTypes { get; }Property Value
Section titled “Property Value”TenantClaimTypes
Section titled “ TenantClaimTypes”Gets the claim types that can provide tenant memberships for the current subject.
public List<string> TenantClaimTypes { get; }Property Value
Section titled “Property Value”TenantHeaderNames
Section titled “ TenantHeaderNames”Gets the request-header names that can provide the current tenant identifier when route values do not.
public List<string> TenantHeaderNames { get; }Property Value
Section titled “Property Value”TenantRouteKeys
Section titled “ TenantRouteKeys”Gets the route-value keys that can provide the current tenant identifier.
public List<string> TenantRouteKeys { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”FromConfiguration(IConfiguration?, string)
Section titled “ FromConfiguration(IConfiguration?, string)”Reads ASP.NET Core identity adapter options from configuration.
public static IdentityAspNetCoreOptions FromConfiguration(IConfiguration? configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration?
The root configuration that contains the engine section.
sectionPath string
The engine root section path to read from.
Returns
Section titled “Returns”The parsed ASP.NET Core identity adapter options.