Class OpenIddictValidationAspNetCoreExtensions
Exposes extensions allowing to register the OpenIddict validation services.
Inheritance
System.Object
OpenIddictValidationAspNetCoreExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: cs.temp.dll.dll
Syntax
public static class OpenIddictValidationAspNetCoreExtensions
Methods
UseAspNetCore(OpenIddictValidationBuilder)
Registers the OpenIddict validation services for ASP.NET Core in the DI container.
Declaration
public static OpenIddictValidationAspNetCoreBuilder UseAspNetCore(this OpenIddictValidationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationBuilder | builder | The services builder used by OpenIddict to register new services. |
Returns
Type | Description |
---|---|
OpenIddictValidationAspNetCoreBuilder |
Remarks
This extension can be safely called multiple times.
UseAspNetCore(OpenIddictValidationBuilder, Action<OpenIddictValidationAspNetCoreBuilder>)
Registers the OpenIddict validation services for ASP.NET Core in the DI container.
Declaration
public static OpenIddictValidationBuilder UseAspNetCore(this OpenIddictValidationBuilder builder, Action<OpenIddictValidationAspNetCoreBuilder> configuration)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationBuilder | builder | The services builder used by OpenIddict to register new services. |
System.Action<OpenIddictValidationAspNetCoreBuilder> | configuration | The configuration delegate used to configure the validation services. |
Returns
Type | Description |
---|---|
OpenIddictValidationBuilder |
Remarks
This extension can be safely called multiple times.