Class OpenIddictValidationDataProtectionExtensions
Exposes extensions allowing to register the OpenIddict ASP.NET Core Data Protection validation services.
Inheritance
System.Object
OpenIddictValidationDataProtectionExtensions
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 OpenIddictValidationDataProtectionExtensions
Methods
UseDataProtection(OpenIddictValidationBuilder)
Registers the OpenIddict ASP.NET Core Data Protection validation services in the DI container.
Declaration
public static OpenIddictValidationDataProtectionBuilder UseDataProtection(this OpenIddictValidationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationBuilder | builder | The services builder used by OpenIddict to register new services. |
Returns
Type | Description |
---|---|
OpenIddictValidationDataProtectionBuilder |
Remarks
This extension can be safely called multiple times.
UseDataProtection(OpenIddictValidationBuilder, Action<OpenIddictValidationDataProtectionBuilder>)
Registers the OpenIddict ASP.NET Core Data Protection validation services in the DI container.
Declaration
public static OpenIddictValidationBuilder UseDataProtection(this OpenIddictValidationBuilder builder, Action<OpenIddictValidationDataProtectionBuilder> configuration)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationBuilder | builder | The services builder used by OpenIddict to register new services. |
System.Action<OpenIddictValidationDataProtectionBuilder> | configuration | The configuration delegate used to configure the validation services. |
Returns
Type | Description |
---|---|
OpenIddictValidationBuilder |
Remarks
This extension can be safely called multiple times.