public OAuthRequest CreateConsumerRequest(OAuthEndPoint resourceEndPoint)
        {
            IToken requestToken = null, accessToken = null;
            if (service != null)
                requestToken = new EmptyToken(service.Consumer.Key, TokenType.Request);
            if (service != null)
                accessToken = new EmptyToken(service.Consumer.Key, TokenType.Access);

            return CreateRequest(resourceEndPoint, requestToken, accessToken);
        }
Example #2
0
        public OAuthRequest CreateConsumerRequest(OAuthEndPoint resourceEndPoint)
        {
            IToken requestToken = null, accessToken = null;

            if (service != null)
            {
                requestToken = new EmptyToken(service.Consumer.Key, TokenType.Request);
            }
            if (service != null)
            {
                accessToken = new EmptyToken(service.Consumer.Key, TokenType.Access);
            }

            return(CreateRequest(resourceEndPoint, requestToken, accessToken));
        }