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
clientIdstringThe client, or null when the request never named one this server knows.
grantTypestringThe grant asked for, or null when the request named none.
errorstringThe OAuth error code returned to the client.
descriptionstringThe 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
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
Endpoint
The endpoint that refused: Token, Authorize, or BackchannelAuthentication for a CIBA push. Duende's.
public string? Endpoint { get; set; }
Property Value
Error
The OAuth error code returned to the client.
public string Error { get; }
Property Value
ErrorDescription
The error description returned to the client, where there was one. Duende's.
public string? ErrorDescription { get; set; }
Property Value
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
RedirectUri
The redirect URI of a refused authorize request; null from every other endpoint. Duende's.
public string? RedirectUri { get; set; }
Property Value
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
SubjectId
The authenticated user the refused request was for, where there was one. Duende's.
public string? SubjectId { get; set; }