Table of Contents
API reference

Method CreateResponse

Namespace
DisCatSharp.Hosting.AspNetCore.Ingress.OAuth
Assembly
DisCatSharp.Hosting.AspNetCore.dll

CreateResponse(DiscordOAuthCallbackResult)

Creates the ingress response for the specified callback result.

DiscordIngressResponse CreateResponse(DiscordOAuthCallbackResult result)

Parameters

result DiscordOAuthCallbackResult

The callback result to shape.

Returns

DiscordIngressResponse

The ingress response to emit.