POST api/Token/ValidateTokenDetailed
Request Information
URI Parameters
None.
Body Parameters
ValidateTokenRequestName | Description | Type | Additional information |
---|---|---|---|
Audience | string |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Audience": "sample string 1", "Token": "sample string 2" }
application/xml, text/xml
Sample:
<TokenController.ValidateTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Service.Authorization.Controllers"> <Token>sample string 2</Token> <Audience>sample string 1</Audience> </TokenController.ValidateTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidateTokenResponseName | Description | Type | Additional information |
---|---|---|---|
FoundInDB | boolean |
None. |
|
BelongsToAccount | boolean |
None. |
|
SignatureOK | boolean |
None. |
|
ValidityOK | boolean |
None. |
|
AudienceOK | boolean |
None. |
|
AllOK | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "FoundInDB": true, "BelongsToAccount": true, "SignatureOK": true, "ValidityOK": true, "AudienceOK": true, "AllOK": true }
application/xml, text/xml
Sample:
<TokenController.ValidateTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Service.Authorization.Controllers"> <AllOK>true</AllOK> <AudienceOK>true</AudienceOK> <BelongsToAccount>true</BelongsToAccount> <FoundInDB>true</FoundInDB> <SignatureOK>true</SignatureOK> <ValidityOK>true</ValidityOK> </TokenController.ValidateTokenResponse>