alex-kalanis / kw_auth_forms
Form authentication in KWCMS
v4.0.0
2024-04-08 21:29 UTC
Requires
- php: >=7.4.0
- ext-openssl: *
- alex-kalanis/kw_accounts: >=3.0 <4
- alex-kalanis/kw_auth_sources: >=5.0 <6
- alex-kalanis/kw_forms: >=3.0 <4
- alex-kalanis/kw_rules: >=3.0 <4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- psr/container: =2.0.2
- shipmonk/composer-dependency-analyser: ^1.4
README
Authenticate that the data in form are valid and unchanged from author. Nice for checking when you need to pass data sensitive on changes.
Every check is done by user's certificates and with user's salt. Every check also can say if that user can use his certificates to check the data.
PHP Installation
composer.phar require alex-kalanis/kw_auth_forms
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Add some external packages with connection to the local or remote services.
3.) Connect the "kalanis\kw_auth_forms\AuthForm" into your app forms for your case.
4.) Just call forms and render, validity of queries will be checked on return