POST api/linkedin-callback?authorizationCode={authorizationCode}&clientId={clientId}&clientSecret={clientSecret}&redirectUri={redirectUri}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| authorizationCode | string |
Required |
|
| clientId | string |
Required |
|
| clientSecret | string |
Required |
|
| redirectUri | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OAuthTokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| expires_in | integer |
None. |
|
| scope | string |
None. |
|
| token_type | string |
None. |
|
| id_token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"expires_in": 2,
"scope": "sample string 3",
"token_type": "sample string 4",
"id_token": "sample string 5"
}
application/xml, text/xml
Sample:
<OAuthCallBackController.OAuthTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <access_token>sample string 1</access_token> <expires_in>2</expires_in> <id_token>sample string 5</id_token> <scope>sample string 3</scope> <token_type>sample string 4</token_type> </OAuthCallBackController.OAuthTokenResponse>