Skip to content

podcasthosting/SocialiteProvider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocialiteProvider

Laravel Socialite Provider to log in to podcaster service (www.podcaster.de)

Add this app/Providers/EventServiceProvider.php

private function bootPodcasterSocialite()
{
    $socialite = $this->app->make('Laravel\Socialite\Contracts\Factory');
    $socialite->extend(
        'podcaster',
        function ($app) use ($socialite) {
            $config = $app['config']['services.podcaster'];
            return $socialite->buildProvider(\podcasthosting\podcaster\socialiteprovider\Provider::class, $config);
        }
    );
}

and call it from boot() method.

/**
 * Register any events for your application.
 *
 * @return void
 */
public function boot()
{
    $this->bootPodcasterSocialite();

    parent::boot();
}

About

Laravel Socialite Provider to log in to podcaster service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages