Table of Contents

Namespace Line.OpenApi.Core.Webhook

Classes

WebhookSignatureValidator

LINE Webhook signature validation (x-line-signature). This is not part of the OpenAPI spec, so it is implemented by hand. Using the channel secret as the key, it computes the HMAC-SHA256 of the request body (raw bytes), Base64-encodes it, and compares it against the header value in constant time.