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
resultDiscordOAuthCallbackResultThe callback result to shape.
Returns
- DiscordIngressResponse
The ingress response to emit.