alternatelife / portal-socialite-provider
This package is abandoned and no longer maintained.
No replacement package was suggested.
Alternate-Life Portal OAuth2 Provider for Laravel Socialite
1.0.1
2019-07-15 20:21 UTC
Requires
- php: ^5.6 || ^7.0
- socialiteproviders/manager: ~2.0 || ~3.0
This package is auto-updated.
Last update: 2020-01-15 21:33:14 UTC
README
Alternate-Life Portal OAuth2 Provider for Laravel Socialite
Install
composer require alternatelife/portal-socialite-provider
Register
protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ 'AlternateLife\Socialite\Portal\AlternateLifeExtendSocialite@handle' ], ];
Configure
'alternatelife' => [ 'client_id' => env('ALTERNATELIFE_KEY'), 'client_secret' => env('ALTERNATELIFE_SECRET'), 'redirect' => env('ALTERNATELIFE_REDIRECT_URI'), ]
Start building
return Socialite::with('alternatelife')->redirect();