API reference
Interface IDiscordOAuthCallbackHandler
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.OAuth
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Processes Discord OAuth authorization-code callbacks.
public interface IDiscordOAuthCallbackHandler
Remarks
The default implementation consumes the pending state entry, validates the callback against the original authorization request, and then delegates the code exchange to IDiscordOAuthTokenExchangeService.
Methods
- HandleAsync(DiscordOAuthCallbackRequest, CancellationToken)
Processes the specified callback request.