Class IdentityAspNetCoreServiceCollectionExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Identity.AspNetCore.Hosting
Assembly: Cephalon.Identity.AspNetCore.dll
Registers the ASP.NET Core identity adapter services used by Cephalon.
public static class IdentityAspNetCoreServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← IdentityAspNetCoreServiceCollectionExtensions
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(IServiceCollection, IConfiguration?, Action<IdentityAspNetCoreOptions>?)
Section titled “ AddCephalonIdentityAspNetCore(IServiceCollection, IConfiguration?, Action<IdentityAspNetCoreOptions>?)”Adds the Cephalon ASP.NET Core identity adapter to the service collection.
public static IServiceCollection AddCephalonIdentityAspNetCore(this IServiceCollection services, IConfiguration? configuration = null, Action<IdentityAspNetCoreOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The service collection to extend.
configuration IConfiguration?
The optional configuration root used to populate Engine:Identity:AspNetCore.
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 service collection for fluent registration.
Remarks
Section titled “Remarks”When Cephalon.Audit is also active and the host has not already supplied a custom