BinaryStudio.TaskManager.Logic.Authorize.LinkedInService.BeginAuthorization C# (CSharp) Method

BeginAuthorization() public method

public BeginAuthorization ( string callback ) : void
callback string
return void
        public void BeginAuthorization(string callback)
        {
            LinkedInSession session = LinkedInSession.RetrieveFromUserSession();
            if (session == null)
            {
                OAuthToken token = OAuthManager.Current.CreateToken(callback: callback);
                OAuthManager.Current.BeginAuth(token, endResponse: true, displayAllowDenyScreen: true);
            }
        }