Table of Contents

Class ExtensionGrantValidationContext

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

What a client sent to an extension grant, and who it authenticated as.

public sealed class ExtensionGrantValidationContext
Inheritance
ExtensionGrantValidationContext
Inherited Members

Properties

Client

The client, already authenticated and already checked against its allowed grant types.

public required Client Client { get; init; }

Property Value

Client

Parameters

The posted form, verbatim.

public required IReadOnlyDictionary<string, string> Parameters { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Remarks

Unread by this server beyond grant_type and scope. An extension grant's parameters are whatever its specification says they are, and guessing at them here would be a shape a host has to work around rather than one it can use.

Request

The token request the grant will answer, as far as it has been validated. Duende's.

public ValidatedTokenRequest Request { get; init; }

Property Value

ValidatedTokenRequest