Download the PHP package antwerpes/socialite-doccheck without Composer
On this page you can find all versions of the php package antwerpes/socialite-doccheck. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package socialite-doccheck
Socialite DocCheck
Laravel Socialite provider for the DocCheck Login. Compatible with both economy and business licenses.
Installation
You can install the package via composer:
Update your services configuration (config/services.php) with the following entry:
Usage
After setting up the environment variables (see configuration above), you may use this provider as any
other Socialite provider, see also Socialite documentation.
The user object returned by the provider differs by license. For the economy license, only an ID
will be present. For the business license all other fields will also be present.
Example code:
Login button in Blade
You can either render the DocCheck Login button with the DocCheck Web Component or pass the Login URL directly to a Blade template.
If you want to pass the generated URL directly:
Blade Template:
If you want to render the Login with DocCheck Button using the Web Component, also extract and pass the state parameter:
Blade example (DocCheck Web Component):
The callback logic stays the same (see example above).
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Leave an issue on GitHub, or create a Pull Request.
License
The MIT License (MIT). Please see License File for more information.
All versions of socialite-doccheck with dependencies
illuminate/contracts Version ^9.28|^10.0|^11.0|^12.0
laravel/socialite Version ~5.0
ext-json Version *