Class OpenIddictValidationServerIntegrationExtensions
Exposes extensions allowing to register the OpenIddict validation/server integration services.
Inheritance
System.Object
OpenIddictValidationServerIntegrationExtensions
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 OpenIddictValidationServerIntegrationExtensions
Methods
UseLocalServer(OpenIddictValidationBuilder)
Registers the OpenIddict validation/server integration services in the DI container and automatically imports the configuration from the local OpenIddict server.
Declaration
public static OpenIddictValidationServerIntegrationBuilder UseLocalServer(this OpenIddictValidationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationBuilder | builder | The services builder used by OpenIddict to register new services. |
Returns
Type | Description |
---|---|
OpenIddictValidationServerIntegrationBuilder |
Remarks
This extension can be safely called multiple times.
UseLocalServer(OpenIddictValidationBuilder, Action<OpenIddictValidationServerIntegrationBuilder>)
Registers the OpenIddict validation/server integration services in the DI container and automatically imports the configuration from the local OpenIddict server.
Declaration
public static OpenIddictValidationBuilder UseLocalServer(this OpenIddictValidationBuilder builder, Action<OpenIddictValidationServerIntegrationBuilder> configuration)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationBuilder | builder | The services builder used by OpenIddict to register new services. |
System.Action<OpenIddictValidationServerIntegrationBuilder> | configuration | The configuration delegate used to configure the validation services. |
Returns
Type | Description |
---|---|
OpenIddictValidationBuilder | The OpenIddictBuilder. |
Remarks
This extension can be safely called multiple times.