docs: update README.md
This commit is contained in:
parent
d92ec2dfe8
commit
2a7948fffd
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
@ -20,6 +20,27 @@ php flarum migrate
|
||||||
php flarum cache:clear
|
php flarum cache:clear
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### setting
|
||||||
|

|
||||||
|
|
||||||
|
### create a client
|
||||||
|

|
||||||
|
|
||||||
|
### set scope for your resources (user.read is default scope)
|
||||||
|

|
||||||
|
|
||||||
|
### do it as normal OAuth client
|
||||||
|

|
||||||
|
|
||||||
|
### get access token after authorized
|
||||||
|

|
||||||
|
|
||||||
|
### using token to access resources (get or header)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
- [Packagist](https://packagist.org/packages/foskym/flarum-oauth-center)
|
- [Packagist](https://packagist.org/packages/foskym/flarum-oauth-center)
|
||||||
|
|
Loading…
Reference in a new issue