Table of Contents
API reference

Interface IDiscordIngressSignatureValidator

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

Validates an ingress request signature for a specific provider or scheme.

public interface IDiscordIngressSignatureValidator

Remarks

Return NotValidated(string?) when the validator does not apply to the current request. Reserve Invalid(string, string?) for requests that should have matched but failed validation.

Methods

ValidateAsync(DiscordIngressRequest, CancellationToken)

Validates the supplied ingress request.