Click or drag to resize
LinkedInHelperCompleteAuthorizationInternal 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#
protected LinkedInAccessToken CompleteAuthorizationInternal(
	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
InvalidOperationExceptionThrow when access token is not retrieved.
ExceptionThrow when unexpected error occurs.
See Also