Download the PHP package owenvoke/socialite-unstoppable-domains without Composer
On this page you can find all versions of the php package owenvoke/socialite-unstoppable-domains. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download owenvoke/socialite-unstoppable-domains
More information about owenvoke/socialite-unstoppable-domains
Files in owenvoke/socialite-unstoppable-domains
Package socialite-unstoppable-domains
Short Description An Unstoppable Domains provider for Laravel Socialite
License MIT
Informations about the package socialite-unstoppable-domains
Unstoppable Domains Socialite Adapter
An Unstoppable Domains provider for Laravel Socialite
Install
Via Composer
Please see the Base Installation Guide, then follow the provider specific instructions below.
Add configuration to config/services.php
Add provider event listener
Configure the package's listener to listen for SocialiteWasCalled
events.
Add the event to your listen[]
array in app/Providers/EventServiceProvider
. See the Base Installation Guide for detailed instructions.
Usage
You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):
Note, you are required to pass in the
login_hint
which is the domain that the user provided.
By default the email:optional
scope is provided, if you want to require an email address to be returned, use the following:
Returned User fields
id
: The id (domain) of the authenticated usertoken
: The token of the authenticated useremail
: The email address of the user (optional by default)wallet_address
: The wallet address of the useruser
sub
: The domain of the authenticated userwallet_address
: The wallet address of the userwallet_type_hint
: The method of wallet authentication the user usedemail
: The email address of the user (optional by default)email_verified
: A boolean stating whether the user's email has been verified (optional by default)
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
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
- Owen Voke
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Treeware
You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
You can buy trees here.
Read more about Treeware at treeware.earth.