API reference
Interface IDiscordOAuthCallbackResponseFactory
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.OAuth
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Shapes Discord OAuth callback results into transport-neutral ingress responses.
public interface IDiscordOAuthCallbackResponseFactory
Remarks
The default implementation emits cache-busting headers and deliberately excludes raw access and refresh tokens from the response payload.
Methods
- CreateResponse(DiscordOAuthCallbackResult)
Creates the ingress response for the specified callback result.