Registry / auth / knpuniversity-oauth2-client-bundle

knpuniversity-oauth2-client-bundle

JSON →
library2.20.2phppackagistunverified

Integration with league/oauth2-client to provide services

composer require knpuniversity/oauth2-client-bundle
INSTALL
IMPORT
SIG · KNPUNIVERSITY-OAUT
K
knpuniversity-oauth2-client-bundle
authphpv2.20.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FacebookClient
use KnpU\OAuth2ClientBundle\Client\Provider\FacebookClient;

Create a Facebook OAuth2 client and fetch user data.

<?php use KnpU\OAuth2ClientBundle\Client\Provider\FacebookClient; $client = new FacebookClient($httpClient, $config); $user = $client->fetchUserFromToken('access_token');
Debug
Known issues
gotchaRequires league/oauth2-client to be installed separately.
fix
Run 'composer require league/oauth2-client' before using this bundle.
affects: >=2.0
Upgrade
Version history
2.20.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
knpuniversity-oauth2-client-bundle — pip install knpuniversity-oauth2-client-bundle · libregistry