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); }
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)); }