Show / Hide Table of Contents

Class OpenIddictValidationHelpers

Exposes extensions simplifying the integration with the OpenIddict validation services.

Inheritance
System.Object
OpenIddictValidationHelpers
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: OpenIddict.Validation
Assembly: cs.temp.dll.dll
Syntax
public static class OpenIddictValidationHelpers

Methods

GetProperty<TProperty>(OpenIddictValidationTransaction, String)

Retrieves a property value from the validation transaction using the specified name.

Declaration
public static TProperty GetProperty<TProperty>(this OpenIddictValidationTransaction transaction, string name)
    where TProperty : class
Parameters
Type Name Description
OpenIddictValidationTransaction transaction

The validation transaction.

System.String name

The property name.

Returns
Type Description
TProperty

The property value or null if it couldn't be found.

Type Parameters
Name Description
TProperty

The type of the property.

SetProperty<TProperty>(OpenIddictValidationTransaction, String, TProperty)

Sets a property in the validation transaction using the specified name and value.

Declaration
public static OpenIddictValidationTransaction SetProperty<TProperty>(this OpenIddictValidationTransaction transaction, string name, TProperty value)
    where TProperty : class
Parameters
Type Name Description
OpenIddictValidationTransaction transaction

The validation transaction.

System.String name

The property name.

TProperty value

The property value.

Returns
Type Description
OpenIddictValidationTransaction

The validation transaction, so that calls can be easily chained.

Type Parameters
Name Description
TProperty

The type of the property.

In This Article
Back to top Generated by DocFX