Exemplo n.º 1
0
        public static SharpBucketV2 GetV2ClientAuthenticatedWithOAuth2()
        {
            var consumerKey       = Environment.GetEnvironmentVariable(SbConsumerKey);
            var consumerSecretKey = Environment.GetEnvironmentVariable(SbConsumerSecretKey);
            var sharpbucket       = new SharpBucketV2();

            sharpbucket.OAuthentication2(consumerKey, consumerSecretKey);
            return(sharpbucket);
        }