rohstar / Documentation

VuePress Source of https://socialiteproviders.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

home actionText actionLink features footer
true
Get Started →
/about.html
title details
Simplicity First
Minimal setup with a familiar structure helps you focus on developing your newest product.
title details
Seamless Integration
Following the same API as Laravel Socialite allows for a seamless integration.
title details
Powerful Support
The Socialite Manager grants you access to both custom and official providers.
MIT Licensed | Copyright © 2018-present SocialiteProviders
# install
composer require socialiteproviders/twitter

# register
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        'SocialiteProviders\Twitter\TwitterExtendSocialite@handle'
    ],
];

# configure
'twitter' => [
    'client_id' => env('TWITTER_KEY'),
    'client_secret' => env('TWITTER_SECRET'),
    'redirect' => env('TWITTER_REDIRECT_URI'),
]

# start building
return Socialite::with('twitter')->redirect();

About

VuePress Source of https://socialiteproviders.netlify.com/


Languages

Language:JavaScript 63.1%Language:Shell 36.9%