gertoska/oauth2-request

A simple way to connect to oauth2 Api.

v0.1.1 2019-06-02 15:07 UTC

This package is auto-updated.

Last update: 2024-08-29 05:06:50 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Package to make requests with OAuth2 authentication, developed for private projects.

Install

Via Composer

$ composer require gertoska/oauth2-request

Usage

$api = new Request($accessData);
$api->getOrRefreshAccessToken();

$api->request($method, $path, $params);

Testing

$ composer test

License

The MIT License (MIT). Please see License File for more information.