First public commit
This commit is contained in:
2019-12-20 11:00:00 +03:00
commit a3aaac1d0e
7 changed files with 384 additions and 0 deletions

20
README.md Executable file
View File

@@ -0,0 +1,20 @@
# 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',
]);
```