Skip to content

[HttpFoundation] Add documentation for #[IsSignatureValid] attribute #21041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 7.4
Choose a base branch
from

Conversation

santysisi
Copy link
Contributor

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

@santysisi
Copy link
Contributor Author

Add doc for this PR

@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