I have been reading several articles to get SharePoint Online client context with the generated access token. All of them use TokenHelper
class to get the client context as shown below:
ClientContext clientContext = TokenHelper.GetClientContextWithAccessToken(targetWeb, AccessToken);
My question is how do we access TokenHelper
class? I could not find it in the reference Microsoft.SharePoint.Client version 16.1.0.0. What reference do we need to add to access this class?