Login Request - Post Body
parent
da11727ad5
commit
e7786cef03
2
API.md
2
API.md
@ -43,6 +43,7 @@ POST `api/client/<clientId>/login`
|
|||||||
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
|
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
|
||||||
| clientId | URI/Route | Client identifier | Integer | Required | -- |
|
| clientId | URI/Route | Client identifier | Integer | Required | -- |
|
||||||
|
|
||||||
|
|
||||||
**Adds cookie with key `.AspNetCore.Cookies` to be used to authenticate subsequent requests**
|
**Adds cookie with key `.AspNetCore.Cookies` to be used to authenticate subsequent requests**
|
||||||
|
|
||||||
### Logout Request
|
### Logout Request
|
||||||
@ -50,6 +51,7 @@ POST `api/client/<clientId>/logout`
|
|||||||
| Parameter | Method | Description | Type | Validation | Default |
|
| Parameter | Method | Description | Type | Validation | Default |
|
||||||
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
|
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
|
||||||
| clientId | URI/Route | Client identifier | Integer | Required | -- |
|
| clientId | URI/Route | Client identifier | Integer | Required | -- |
|
||||||
|
| password | POST Body | Client password | String | Required | -- |
|
||||||
|
|
||||||
**Invalidates and removes cookie with key `.AspNetCore.Cookies`**
|
**Invalidates and removes cookie with key `.AspNetCore.Cookies`**
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user