POST api/Auth/App
Authenticates an external application using credentials provided in the request body and returns an authentication token if successful.
Request Information
URI Parameters
None.
Body Parameters
The login request containing the application's credentials. Must include valid ClientID and ClientSecret information.
LoginAppRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | string |
None. |
|
| ClientSecret | string |
None. |
|
| Scope | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": "sample string 1",
"ClientSecret": "sample string 2",
"Scope": "sample string 3"
}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
An HTTP response containing the authentication token if authentication succeeds; otherwise, an error response indicating the reason for failure.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.