mirror of
https://github.com/1sept/oauth2-1sept.git
synced 2024-05-30 17:38:52 +03:00
Init
First public commit
This commit is contained in:
20
README.md
Executable file
20
README.md
Executable file
@@ -0,0 +1,20 @@
|
||||
# September First OAuth2 client provider
|
||||
[](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',
|
||||
]);
|
||||
```
|
||||
Reference in New Issue
Block a user