Expose auth settings through REST API
This commit is contained in:
@@ -93,9 +93,23 @@
|
||||
|
||||
| Method | Endpoint | Purpose |
|
||||
| ------ | -------- | ------- |
|
||||
| `GET` | `/auth/` | Returns auth settings |
|
||||
| `GET` | `/auth/check` | Check JWT token |
|
||||
| `GET` | `/auth/logout` | Logout |
|
||||
|
||||
## Returns auth settings
|
||||
|
||||
#### Method
|
||||
|
||||
| URI | Protocol | Method | Authentication |
|
||||
| --- | -------- | ------ | -------------- |
|
||||
| `/auth/` | HTTP/S | GET | |
|
||||
|
||||
#### Request parameters
|
||||
|
||||
| Parameter | Type | Method | Description | Default | Required? |
|
||||
| --------- | ---- | ------ | ----------- | ------- | --------- |
|
||||
|
||||
## Check JWT token
|
||||
|
||||
#### Method
|
||||
|
||||
Reference in New Issue
Block a user