API reference
Method InvalidState
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.OAuth
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
InvalidState(string?, string?, string, IReadOnlyDictionary<string, string?>?, Uri?)
Creates an invalid-state callback result.
public static DiscordOAuthCallbackResult InvalidState(string? state, string? code, string detail, IReadOnlyDictionary<string, string?>? callbackParameters = null, Uri? callbackUri = null)
Parameters
statestringcodestringdetailstringcallbackParametersIReadOnlyDictionary<string, string>callbackUriUri
Returns
Remarks
This status indicates the callback could not be matched to a pending state entry.