GET api/OAuth/ValidateToken?authKey={authKey}
Method used to get response if eksternal token is valid. Request need to be authorized as well.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| authKey | string | Required | 
Body Parameters
None.
Response Information
Resource Description
TokenValidationMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| valid | Indicator if authKey is valid | boolean | None. | 
| message | Message to describe status | string | None. | 
| user | User who is encapsulated in authKey | string | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "valid": true,
  "message": "sample string 2",
  "user": "sample string 3"
}
        application/xml, text/xml
            Sample:
<TokenValidationMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMedit.eDoktor.WebApi.Models.Api.OAuth"> <Message>sample string 2</Message> <User>sample string 3</User> <Valid>true</Valid> </TokenValidationMessage>