Back

POST api/v1/Account/ValidateClientToken

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

Email address of token holder and RPost provided client id

TokenValidationModel
NameDescriptionTypeAdditional information
EmailAddress

Email address of the token holder

string

None.

ClientId

RPost provided Client ID

string

None.

Sample Request

Request Formats

application/json, text/json

Sample:
{
  "EmailAddress": "sample string 1",
  "ClientId": "sample string 2"
}

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
}