Click or drag to resize
LinkedInHelperCompleteAuthorization Method
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.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 11.0.0
Syntax
C#
public static LinkedInAccessToken CompleteAuthorization(
	TokenManager tokenManager
)

Parameters

tokenManager
Type: CMS.SocialMarketing.LinkedInInternalTokenManager
Token manager used for authorization - the same instance that was used to BeginAuthorization must be provided.

Return Value

Type: LinkedInAccessToken
LinkedInAccessToken structure.
Exceptions
ExceptionCondition
LinkedInApiExceptionThrown when protocol error occurs.
ExceptionThrow when unexpected error occurs.
See Also