GET api/Account/UpdateToken?RefreshToken={RefreshToken}

Обновление токена авторизацияя

Request Information

URI Parameters

NameDescriptionTypeAdditional information
RefreshToken

Токен обновления

string

Required

Body Parameters

None.

Response Information

Resource Description

ResponseModelUser
NameDescriptionTypeAdditional information
Token

Токен авторизации

string

None.

RefreshToken

Токен для обновление Токена авторизации

string

None.

success

Успешность запроса true, false

boolean

None.

Errors

Ошибка запроса

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "RefreshToken": "sample string 2",
  "success": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResponseModelUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <success>true</success>
  <RefreshToken>sample string 2</RefreshToken>
  <Token>sample string 1</Token>
</ResponseModelUser>