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
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
ErrorDescription
public string? ErrorDescription { get; init; }