Table of Contents

Class TokenIssuedSuccessEvent.Token

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

One issued token, as its type and fingerprint. Duende's nested Token.

[SuppressMessage("Design", "CA1034:Nested types should not be visible", Justification = "Duende's nested type, kept so a sink written against TokenIssuedSuccessEvent.Token compiles.")]
public class TokenIssuedSuccessEvent.Token
Inheritance
TokenIssuedSuccessEvent.Token
Inherited Members

Constructors

Token(string, string)

A token of type, kept as the fingerprint of value.

public Token(string type, string value)

Parameters

type string
value string

Remarks

Duende's constructor; given the token, it keeps only the fingerprint, whoever calls it.

Properties

TokenType

The token's type: id_token, refresh_token or access_token.

public string TokenType { get; }

Property Value

string

TokenValue

The token's TokenFingerprint. Duende's name; never the token.

public string TokenValue { get; }

Property Value

string

Methods

FromResponse(IReadOnlyDictionary<string, object>)

The tokens in a token response, in Duende's order, fingerprinted.

public static IReadOnlyList<TokenIssuedSuccessEvent.Token> FromResponse(IReadOnlyDictionary<string, object> response)

Parameters

response IReadOnlyDictionary<string, object>

Returns

IReadOnlyList<TokenIssuedSuccessEvent.Token>

Remarks

Duende's token-endpoint constructor, measured: id_token, refresh_token, access_token, each only when issued.