Skip to content

Conversation

santysisi
Copy link
Contributor

@santysisi santysisi commented Jun 4, 2025

Add Documentation for #[IsSignatureValid] Attribute

This PR introduces documentation for the new #[IsSignatureValid] attribute, which enables declarative request signature validation at the controller or action level.

✅ Included in this PR:

  • Basic usage of #[IsSignatureValid] with default behavior
  • Support for custom failure status code via validationFailedStatusCode
  • Option to throw exceptions using throw: true
  • Method restriction using the methods option (supports both string and array)
  • Example of applying the attribute at the controller class level to protect all actions

Code PR

@santysisi

This comment was marked as outdated.

@santysisi santysisi force-pushed the add-is-signature-valid-attribute branch from 11e8f56 to 8715665 Compare June 4, 2025 02:12
@javiereguiluz javiereguiluz added the Waiting Code Merge Docs for features pending to be merged label Jun 4, 2025
@carsonbot carsonbot modified the milestones: 7.4, next Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants