API reference
Interface IDiscordIngressSignatureValidationService
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.Security
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Coordinates transport-agnostic ingress signature validation.
public interface IDiscordIngressSignatureValidationService
Remarks
The default implementation walks the registered IDiscordIngressSignatureValidator instances in registration order, returns immediately on the first valid result, otherwise preserves the first invalid result, and falls back to NotValidated when no validator applied.
Methods
- ValidateAsync(DiscordIngressRequest, CancellationToken)
Validates the supplied ingress request against the registered signature validators.