Show / Hide Table of Contents

Class OpenIddictValidationExtensions

Exposes extensions allowing to register the OpenIddict validation services.

Inheritance
System.Object
OpenIddictValidationExtensions
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 OpenIddictValidationExtensions

Methods

AddValidation(OpenIddictBuilder)

Registers the OpenIddict token validation services in the DI container.

Declaration
public static OpenIddictValidationBuilder AddValidation(this OpenIddictBuilder builder)
Parameters
Type Name Description
OpenIddictBuilder builder

The services builder used by OpenIddict to register new services.

Returns
Type Description
OpenIddictValidationBuilder

The OpenIddictValidationBuilder.

Remarks

This extension can be safely called multiple times.

AddValidation(OpenIddictBuilder, Action<OpenIddictValidationBuilder>)

Registers the OpenIddict token validation services in the DI container.

Declaration
public static OpenIddictBuilder AddValidation(this OpenIddictBuilder builder, Action<OpenIddictValidationBuilder> configuration)
Parameters
Type Name Description
OpenIddictBuilder builder

The services builder used by OpenIddict to register new services.

System.Action<OpenIddictValidationBuilder> configuration

The configuration delegate used to configure the validation services.

Returns
Type Description
OpenIddictBuilder

The OpenIddictBuilder.

Remarks

This extension can be safely called multiple times.

In This Article
Back to top Generated by DocFX