Completes authorization and gets user's access token. All needed parameters are obtained from query string (LinkedIn adds these parameters when redirecting to callback URL).
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- tokenManager
- Type: CMS.SocialMedia TokenManager
Token manager used for authorization - the same instance that was used to BeginAuthorization must be provided.
Return Value
Type: LinkedInAccessTokenLinkedInAccessToken structure.
Exceptions
Exception | Condition |
---|---|
CMS.SocialMarketing LinkedInApiException | Thrown when protocol error occures. |
System Exception | Throw when unexpected error occures. |
See Also