POST api/Security/Authenticate
Request Information
URI Parameters
None.
Body Parameters
AuthenticationInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
Required |
|
| Password | string |
Required |
|
| AllowRefresh | boolean |
None. |
|
| RefreshKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2",
"AllowRefresh": true,
"RefreshKey": "sample string 4"
}
application/xml, text/xml
Sample:
<AuthenticationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models"> <AllowRefresh>true</AllowRefresh> <Password>sample string 2</Password> <RefreshKey>sample string 4</RefreshKey> <Username>sample string 1</Username> </AuthenticationInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AuthenticatedUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAuthenticated | boolean |
None. |
|
| UserInfo | SysUserData |
None. |
|
| AuthenticationToken | string |
None. |
|
| RefreshToken | string |
None. |
|
| SessionId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsAuthenticated": true,
"UserInfo": null,
"AuthenticationToken": "sample string 2",
"RefreshToken": "sample string 3",
"SessionId": "sample string 4"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.