API reference
Class DiscordIngressPendingState
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Represents a pending ingress state entry, such as an OAuth request awaiting a callback.
public sealed class DiscordIngressPendingState
- Inheritance
-
DiscordIngressPendingState
- Inherited Members
Remarks
The stored RequestUri and Flow values are used by the default OAuth callback handler to validate that the callback matches the original authorization request.
Properties
- CreatedAt
Gets or sets when the pending state was created.
- ExpiresAt
Gets or sets when the pending state expires.
- Flow
Gets or sets the logical flow name associated with this state entry.
- Key
Gets or sets the stable key used to locate the pending state entry.
- Properties
Gets or sets additional flow-specific properties associated with the entry.
- RequestUri
Gets or sets the originating request URI when one is available.