Download the PHP package rs/auth-medikey without Composer
On this page you can find all versions of the php package rs/auth-medikey. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rs/auth-medikey
More information about rs/auth-medikey
Files in rs/auth-medikey
Package auth-medikey
Short Description Authentication for medikey service
License MIT
Homepage https://github.com/rs/auth-medikey
Informations about the package auth-medikey
Medikey Authentication
Medikey is the innovative service that allows the certification and the recognition of the Italian physicians: a single initial process of registration allows the physician to obtain two univocal access keys (username and password) through which one can automatically access all the reserved websites that have adhered to Medikey, avoiding new, long and repetitive registrations for each website.
Installation
You can install the package via composer:
Usage
Before using auth-medikey, you will need to add the site id for your implementation of Medikey. These credentials should be placed in your application's config/services.php configuration file, and should use the key medikey.
Authentication
To authenticate users using the Medikey provider, you will need two routes: one for redirecting the user to the provider, and another for receiving the callback from the provider after authentication. The example controller below demonstrates the implementation of both routes:
The redirect method provided takes care of redirecting the user to the provider, while the user method will read the incoming request and retrieve the user's information from the provider after they are authenticated.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Param Dhaliwal
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of auth-medikey with dependencies
illuminate/support Version ^10.0|^11.0
illuminate/http Version ^10.0|^11.0
ext-libxml Version *
ext-simplexml Version *
ext-json Version *