mirror of
https://github.com/exzork/GCAuth.git
synced 2024-11-24 00:23:58 +00:00
update readme
This commit is contained in:
parent
fd9d4e505c
commit
21b0a44ce7
@ -16,7 +16,7 @@ Grasscutter Authentication System
|
||||
- To use access control, you need set the `ACCESS_KEY` in config.json inside plugins/GCAuth. (Optional)
|
||||
- All payload must be send with `application/json` and Compact JSON format ( without unnecessary spaces )
|
||||
- Auth endpoint is:
|
||||
- Authentication Checking : `/authentication/type` (GET) , it'll return `me.exzork.gcauth.handler.GCAuthAuthentication` if GCAuth is loaded and enabled.
|
||||
- Authentication Checking : `/authentication/type` (GET) , it'll return `GCAuthAuthentication` if GCAuth is loaded and enabled.
|
||||
- Register: `/authentication/register` (POST)
|
||||
```
|
||||
{"username":"username","password":"password","password_confirmation":"password_confirmation"}
|
||||
|
Loading…
Reference in New Issue
Block a user