Table of Contents
API reference

Class DiscordIngressValidationContext

Namespace
DisCatSharp.Hosting.AspNetCore.Validation
Assembly
DisCatSharp.Hosting.AspNetCore.dll

Describes the local ingress configuration snapshot and optional Discord state used during validation.

public sealed class DiscordIngressValidationContext
Inheritance
DiscordIngressValidationContext
Inherited Members

Properties

Application

Gets or sets the current Discord application snapshot from the developer portal or API.

AspNetCoreOptions

Gets or sets the local ASP.NET Core ingress route options.

ExpectedRoleConnectionsVerificationUrl

Gets or sets the expected public role-connections verification URL when the app exposes one outside the package.

LinkedRolesOptions

Gets or sets the local linked-roles helper options.

OAuthClient

Gets or sets the active OAuth2 client used by the host application.

OAuthOptions

Gets or sets the local OAuth callback flow options.

PublicBaseUrl

Gets or sets the externally visible base URL for the ASP.NET Core app.

WebOptions

Gets or sets the local transport-agnostic ingress options.