Skip to content

Prelinker Provider for the PHP League's OAuth 2.0 Client

Notifications You must be signed in to change notification settings

FactorLead/oauth2-prelinker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Prelinker Provider for the PHP League's OAuth 2.0 Client

This package provides Prelinker OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Installation

To install, use composer:

composer require fl/oauth2-prelinker

Usage

You need to initialize the OAuth 2.0 Client with \FL\OAuth2Prelinker\PrelinkerProvider.

$provider = new \FL\OAuth2Prelinker\PrelinkerProvider([
    'clientId'          => '{prelinker-client-id}',
    'clientSecret'      => '{prelinker-client-secret}',
    'redirectUri'       => 'https://example.com/callback-url',
]);

You can then use $provider to request access tokens and make authenticated requests

About

Prelinker Provider for the PHP League's OAuth 2.0 Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages