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
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
TokenValue
The token's TokenFingerprint. Duende's name; never the token.
public string TokenValue { get; }
Property Value
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
responseIReadOnlyDictionary<string, object>
Returns
Remarks
Duende's token-endpoint constructor, measured: id_token, refresh_token, access_token, each
only when issued.