Пример #1
0
        // ##############   Step 1 - Authorization URL   ###############

        /// <summary>
        /// Return an authentication context object containing an url that will let the user authenticate on twitter.
        /// If the callback url is null, the user will be redirected to PIN CODE authentication.
        /// If the callback url is defined, the user will be redirected to CALLBACK authentication.
        /// </summary>
        public static IAuthenticationContext InitAuthentication(IConsumerCredentials appCredentials, string callbackURL = null)
        {
            return(_webTokenFactory.InitAuthenticationProcess(appCredentials, callbackURL, true));
        }