Files
oauth2-1sept/README.md
Alexander Vasilyev a3aaac1d0e Init
First public commit
2019-12-20 11:00:00 +03:00

21 lines
581 B
Markdown
Executable File

# September First OAuth2 client provider
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
This package provides [September First](https://api.1sept.ru) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League.
## Installation
```sh
composer require 1sept/oauth2-1sept
```
## Usage
```php
$provider = new Sept\OAuth2\Client\Provider\SeptemberFirst([
'clientId' => 'client_id',
'clientSecret' => 'secret',
'redirectUri' => 'https://example.org/oauth-endpoint',
]);
```