Table of Contents

Class PersistedGrantFilterExtensions

Namespace
Fdyay.IdentityServer.Stores
Assembly
Fdyay.IdentityServer.Core.dll

The check every store makes of a PersistedGrantFilter before using it. Duende's.

public static class PersistedGrantFilterExtensions
Inheritance
PersistedGrantFilterExtensions
Inherited Members

Methods

Validate(PersistedGrantFilter)

Throws unless the filter names at least one of subject, session, client or type.

public static void Validate(this PersistedGrantFilter filter)

Parameters

filter PersistedGrantFilter

Remarks

Duende 8.0.1's, measured: ArgumentException("No filter values set.", "filter"). A filter with nothing set matches every grant, so a RemoveAllAsync handed one would delete them all — the Dapper store built no WHERE clause from it and did exactly that. Every caller in this tree passes a subject or a client; the stores refuse anyway, because the next caller might not. Whitespace is nothing, as in Duende.