POST api/token
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TokenResponseName | Description | Type | Additional information |
---|---|---|---|
access_token | string |
None. |
|
refresh_token | string |
None. |
|
token_type | string |
None. |
|
expires | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "access_token": "sample string 1", "refresh_token": "sample string 2", "token_type": "sample string 3", "expires": 4 }
application/xml, text/xml
Sample:
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.OAuth2Provider.Controllers"> <access_token>sample string 1</access_token> <expires>4</expires> <refresh_token>sample string 2</refresh_token> <token_type>sample string 3</token_type> </TokenResponse>