Class TokenRevokedSuccessEvent
- Namespace
- Fdyay.IdentityServer.Events
- Assembly
- Fdyay.IdentityServer.Core.dll
A token was revoked at the revocation endpoint.
public class TokenRevokedSuccessEvent : Event
- Inheritance
-
TokenRevokedSuccessEvent
- Inherited Members
Remarks
Token is Duende's member and carries the token's TokenFingerprint, where Duende's carries its last four characters: the same fingerprint the issuance event carried, so the two can be matched.
Constructors
TokenRevokedSuccessEvent(string, string)
A token revoked at the revocation endpoint.
public TokenRevokedSuccessEvent(string clientId, string tokenTypeHint)
Parameters
clientIdstringThe client that revoked it.
tokenTypeHintstringThe kind of token revoked; also set as TokenType.
Properties
ClientId
The client that revoked the token.
public string ClientId { get; }
Property Value
ClientName
The client's display name, where it has one. Duende's.
public string? ClientName { get; set; }
Property Value
Token
The revoked token's TokenFingerprint; set it to the token and it keeps only that.
public string? Token { get; set; }
Property Value
TokenType
The kind of token revoked: access_token or refresh_token. Duende's member.
public string? TokenType { get; set; }
Property Value
Remarks
Duende's carries the client's token_type_hint, which RFC 7009 lets be wrong or absent; this one carries
the kind actually revoked.
TokenTypeHint
The kind of token revoked, as TokenType carries it too.
public string TokenTypeHint { get; }