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 via iFrame
To embed the login on your website instead of relying on redirects, make sure you use a valid iFrame template first
(e.g. login_xl
). Next, in your controller, instead of redirecting the user, grab the constructed redirect URL and
pass it to your view:
In your view you can then simply embed the iFrame using the embedding code given to you, but replacing the url with the one we just generated, for example:
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
laravel/socialite Version ~5.0
ext-json Version *