Back

POST api/v1/Account/ValidateToken

Requires Authorization

Validate bearer token. Token should be considered valid only if response with status code 200 is returned.

Request Information

URI Parameters

None.

Body Parameters

string

Sample Request

Request Formats

application/json, text/json

Sample:
"sample string"

Response Information

Resource Description

TokenValidationViewModel
NameDescriptionTypeAdditional information
token_type

Type of token

string

None.

expires_in

Expiration detail

integer

None.

username

Username

string

None.

issued

Issue date

string

None.

expires

Expiration date

string

None.

BrandCssUrl

Brand Css URL

string

None.

Sample Response

application/json, text/json

Sample:
{
  "token_type": "bearer",
  "expires_in": 1209599,
  "username": "name@example.com",
  "issued": "Mon, 24 Jul 2017 21:58:54 GMT",
  "expires": "Mon, 7 Aug 2017 21:58:54 GMT",
  "BrandCssUrl": null
}