PHPackages                             remotemethod/socialite-teamviewer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. remotemethod/socialite-teamviewer

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

remotemethod/socialite-teamviewer
=================================

Laravel Socialite TeamViewer libraries.

v1.0(10y ago)28MITPHPPHP &gt;=5.5.9

Since Apr 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/remotemethod/socialite-teamviewer)[ Packagist](https://packagist.org/packages/remotemethod/socialite-teamviewer)[ RSS](/packages/remotemethod-socialite-teamviewer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Socialite TeamViewer (OAuth2)
=====================================

[](#laravel-socialite-teamviewer-oauth2)

Introduction
------------

[](#introduction)

Laravel Socialite provides an expressive, fluent interface to OAuth authentication with TeamViewer. It handles almost all of the boilerplate social authentication code you are dreading writing.

License
-------

[](#license)

Laravel Socialite TeamViewer is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

Official Documentation Laravel Socialite
----------------------------------------

[](#official-documentation-laravel-socialite)

#### Install Laravel Socialite, if not previously was the establishment

[](#install-laravel-socialite-if-not-previously-was-the-establishment)

In addition to typical, form based authentication, Laravel also provides a simple, convenient way to authenticate with OAuth providers using [Laravel Socialite](https://github.com/laravel/socialite). Socialite currently supports authentication with Facebook, Twitter, LinkedIn, Google, GitHub and Bitbucket.

### Install with Composer

[](#install-with-composer)

To get started with Socialite TeamViewer, add to your `composer.json` file as a dependency:

```
    composer require remotemethod/socialite-teamviewer

```

### Configuration

[](#configuration)

After installing the Socialite library, register the `RemoteMethod\Socialite\TeamViewer\TeamViewerProvider` in your `config/app.php` configuration file:

```
    'providers' => [
        // Other service providers...

        RemoteMethod\Socialite\TeamViewer\TeamViewerProvider::class,
    ],
```

You will also need to add credentials for the OAuth services your application utilizes. These credentials should be placed in your `config/services.php` configuration file, and should use the key `teamviewer` depending on the providers your application requires. For example:

```
    'teamviewer' => [
        'client_id' => 'your-teamviewer-app-id',
        'client_secret' => 'your-teamviewer-app-secret',
        'redirect' => 'http://your-callback-url',
    ],
```

### Basic Usage

[](#basic-usage)

Next, you are ready to authenticate users! You will need two routes: one for redirecting the user to the OAuth provider, and another for receiving the callback from the provider after authentication. We will access Socialite using the `Socialite` facade:

```
