GetOAuthAccessToken
Gets the OAuth access token from LinkedIn.
Input
Name | Type | Description |
AuthMode | String | The type of authentication mode to use. The allowed values are APP, WEB. |
Verifier | String | The verifier token returned by LinkedIn after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
Scope | String | The scope or permissions you are requesting.
The default value is r_basicprofile,r_emailaddress,r_organization_social,rw_ads,r_ads,r_ads_reporting,r_marketing_leadgen_automation. |
CallbackUrl | String | The URL the user will be redirected to after authorizing your application. |
State | String | Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the LinkedIn authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The OAuth token. |
ExpiresIn | String | The remaining lifetime for the access token in seconds. |
OAuthRefreshToken | String | The OAuth refresh token. |