Table of Contents

Class TokenIssuedFailureEvent

Namespace
Fdyay.IdentityServer.Events
Assembly
Fdyay.IdentityServer.Core.dll

A token request was refused.

public class TokenIssuedFailureEvent : Event
Inheritance
TokenIssuedFailureEvent
Inherited Members

Constructors

TokenIssuedFailureEvent(string?, string?, string, string?)

A refused token request. Endpoint starts as Token.

public TokenIssuedFailureEvent(string? clientId, string? grantType, string error, string? description)

Parameters

clientId string

The client, or null when the request never named one this server knows.

grantType string

The grant asked for, or null when the request named none.

error string

The OAuth error code returned to the client.

description string

The error description returned to the client, where there was one; carried as Message and ErrorDescription.

Properties

ClientId

The client that asked, or null when the request never named one this server knows.

public string? ClientId { get; }

Property Value

string

ClientName

The client's display name, once the request had been validated far enough to know it. Duende's.

public string? ClientName { get; set; }

Property Value

string

Endpoint

The endpoint that refused: Token, Authorize, or BackchannelAuthentication for a CIBA push. Duende's.

public string? Endpoint { get; set; }

Property Value

string

Error

The OAuth error code returned to the client.

public string Error { get; }

Property Value

string

ErrorDescription

The error description returned to the client, where there was one. Duende's.

public string? ErrorDescription { get; set; }

Property Value

string

Remarks

The same text as Message, under the name a sink written against Duende reads.

GrantType

The grant asked for, or null when the request named none.

public string? GrantType { get; }

Property Value

string

RedirectUri

The redirect URI of a refused authorize request; null from every other endpoint. Duende's.

public string? RedirectUri { get; set; }

Property Value

string

Scopes

The scopes the request asked for, where it named any. Duende's member, as a collection here.

public IReadOnlyCollection<string>? Scopes { get; set; }

Property Value

IReadOnlyCollection<string>

SubjectId

The authenticated user the refused request was for, where there was one. Duende's.

public string? SubjectId { get; set; }

Property Value

string