Exemple #1
0
        public OAuthentication3Legged OAuth3LeggedAuthentication(
            string consumerKey,
            string consumerSecretKey,
            string callback = "oob")
        {
            var oauthentication3Legged = new OAuthentication3Legged(consumerKey, consumerSecretKey, callback, BaseUrl)
            {
                RequestExecutor = this.RequestExecutor
            };

            authenticator = oauthentication3Legged;
            return(oauthentication3Legged);
        }
Exemple #2
0
        public OAuthentication3Legged OAuth3LeggedAuthentication(
            string consumerKey,
            string consumerSecretKey,
            string oauthToken,
            string oauthTokenSecret)
        {
            var oauthentication3Legged = new OAuthentication3Legged(
                consumerKey,
                consumerSecretKey,
                oauthToken,
                oauthTokenSecret,
                BaseUrl)
            {
                RequestExecutor = this.RequestExecutor
            };

            authenticator = oauthentication3Legged;
            return(oauthentication3Legged);
        }