POST api/Security/RefreshSession
Request Information
URI Parameters
None.
Body Parameters
TokenRefreshInput| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionKey | globally unique identifier |
Required |
|
| RefreshToken | string |
Required |
|
| RefreshKey | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SessionKey": "6a8d4c5a-cb29-44fb-91c5-d483772fb699",
"RefreshToken": "sample string 2",
"RefreshKey": "sample string 3"
}
application/xml, text/xml
Sample:
<TokenRefreshInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models"> <RefreshKey>sample string 3</RefreshKey> <RefreshToken>sample string 2</RefreshToken> <SessionKey>6a8d4c5a-cb29-44fb-91c5-d483772fb699</SessionKey> </TokenRefreshInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefreshedUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAuthenticated | boolean |
None. |
|
| AuthenticationToken | string |
None. |
|
| RefreshToken | string |
None. |
|
| SessionId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsAuthenticated": true,
"AuthenticationToken": "sample string 2",
"RefreshToken": "sample string 3",
"SessionId": "sample string 4"
}
application/xml, text/xml
Sample:
<RefreshedUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models"> <AuthenticationToken>sample string 2</AuthenticationToken> <IsAuthenticated>true</IsAuthenticated> <RefreshToken>sample string 3</RefreshToken> <SessionId>sample string 4</SessionId> </RefreshedUserModel>