Comments (7)
You can add your custom ICaptchaStorageProvider
using the UseCustomStorageProvider() method.
from dntcaptcha.core.
We can use SessionStorageProvider for distributed systems. But SerializationProvider
has been used in all storage providers.
from dntcaptcha.core.
To be more accurate, StorageProvider
is not related to SerializationProvider
. You can see Refresh
action method in DNTCaptchaImageController
. It uses SerializationProvider
.
from dntcaptcha.core.
SerializationProvider
is replaceable. Everything here works through the dependency injection system:
services.TryAddSingleton<ISerializationProvider, SerializationProvider>();
When we have TryAddSingleton, it means if you add your own ISerializationProvider
before the AddDNTCaptcha
method, your version will be used automatically.
from dntcaptcha.core.
It's ok. Thanks.
I know that I could replace it. I just wanted to help to make the library better. Beside that, I didn't know exactly what other parts of the library is not appropriate for distributed systems (I'm not the coder of this library). So, I wanted to give you a signal that if you can add support for this feature, It's appreciated. I think it worth the effort and it seems that it's not much difficult (I'm not sure. This uncertainty is what that prevents me from just replacing the SerializationProvider
. Maybe it won't be enough)
from dntcaptcha.core.
Added it via #b4e4d31
from dntcaptcha.core.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related problems.
from dntcaptcha.core.
Related Issues (20)
- Auto refresh HOT 1
- Accept Unused Cookies (4.3.3) HOT 2
- validatorService.HasRequestValidCaptchaEntry always returns false , please see description below HOT 1
- SumOfTwoNumbersToWordsProvider always uses the same second component of sum generated in constructor HOT 3
- Ubuntu HOT 8
- امکان استفاده در دیگر SPA ها HOT 1
- عدم کارکرد noise در تصویر
- Captcha not showing when deplyong the system on server HOT 5
- didnt work on linux HOT 1
- i have used https://docs.sixlabors.com/ HOT 5
- رد تست امنیت از سوی بانک HOT 1
- csp راهکار حل HOT 7
- Change show image url HOT 1
- Blind User Accessibility HOT 1
- Update Package To Net8.0 HOT 1
- Set Number for Textbox HOT 1
- وابسته بودن به httpcontext و نبودن سرویس های جداگانه HOT 5
- captcha refresh button does not work after absolute expiration. HOT 1
- The "RateLimit" counts twice the configured quantity HOT 1
- [feat] Custom Controller Name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dntcaptcha.core.