Class IdentityAspNetCoreWebApplicationBuilderExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Identity.AspNetCore.Hosting
Assembly: Cephalon.Identity.AspNetCore.dll
Registers the ASP.NET Core identity adapter on a
public static class IdentityAspNetCoreWebApplicationBuilderExtensionsInheritance
Section titled “Inheritance”object ← IdentityAspNetCoreWebApplicationBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddCephalonIdentityAspNetCore(WebApplicationBuilder, Action<IdentityAspNetCoreOptions>?)
Section titled “ AddCephalonIdentityAspNetCore(WebApplicationBuilder, Action<IdentityAspNetCoreOptions>?)”Adds the Cephalon ASP.NET Core identity adapter to the target application builder.
public static WebApplicationBuilder AddCephalonIdentityAspNetCore(this WebApplicationBuilder builder, Action<IdentityAspNetCoreOptions>? configure = null)Parameters
Section titled “Parameters”builder WebApplicationBuilder
The ASP.NET Core application builder to extend.
configure Action<IdentityAspNetCoreOptions>?
An optional callback that can extend or override the configuration-driven ASP.NET Core identity adapter options.
Returns
Section titled “Returns”The same builder instance for fluent composition.
Remarks
Section titled “Remarks”This keeps ASP.NET Core-specific principal, claim, and route-bound authorization mapping in the host layer while
still feeding the host-agnostic Cephalon authorization contracts. When Cephalon.Audit is also active and
no custom