Skip to content
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

Adding a ValidationResponse property #16

Merged
merged 1 commit into from Aug 14, 2022
Merged

Adding a ValidationResponse property #16

merged 1 commit into from Aug 14, 2022

Conversation

jooni91
Copy link
Member

@jooni91 jooni91 commented Aug 14, 2022

I am adding a ValidationResponse property to the IRecaptchaService. This property provides access to the latest validation response if one exists.

This can be useful in cases where one did not have the chance to capture the response in an Action for example.

The default IRecaptchaService is registered as transient service. This ensures that each request has only access to the validation response of its own service instance.

Custom implementation of IRecaptchaService should avoid being registered as singletons.

…provides access to the latest validation response.
@jooni91 jooni91 added the enhancement New feature or request label Aug 14, 2022
@jooni91 jooni91 self-assigned this Aug 14, 2022
@jooni91 jooni91 merged commit 00ee58e into master Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant