Table of Contents

Class FailedResult

Namespace
Fdyay.AccessTokenManagement
Assembly
Fdyay.AccessTokenManagement.OpenIdConnect.dll

Why no token was handed back.

public sealed record FailedResult : IEquatable<FailedResult>
Inheritance
FailedResult
Implements
Inherited Members

Remarks

A record so that ToString() prints both members, which is what GetToken<T>(Task<TokenResult<T>>) puts in its exception message — the same text Duende's does.

Constructors

FailedResult(string, string?)

Why no token was handed back.

public FailedResult(string Error, string? ErrorDescription = null)

Parameters

Error string
ErrorDescription string

Remarks

A record so that ToString() prints both members, which is what GetToken<T>(Task<TokenResult<T>>) puts in its exception message — the same text Duende's does.

Properties

Error

public string Error { get; init; }

Property Value

string

ErrorDescription

public string? ErrorDescription { get; init; }

Property Value

string