@Test public void shouldSignWithParametersUsingPOST() throws Exception { List<EncodedPair> actualPairs = toTest.oauth(accessToken, POST, URL_NO_QUERY, PAIRS); assertExpectedOAuthPairs("GsNK9QyHNkxAFC+I9AWQ5glonkc=", actualPairs); }
public List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException { return OAuthsV1.oauth(variantProvider, consumerOAuthToken, accessOAuthToken, methodType, url, parameters); }
OAuthenticatorV1 implements OAuthenticator { public List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException { return OAuthsV1.oauth(variantProvider, consumerOAuthToken, accessOAuthToken, methodType, url, parameters); } }
OAuthenticatorV1 implements OAuthenticator { public List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException { return OAuthsV1.oauth(variantProvider, consumerOAuthToken, accessOAuthToken, methodType, url, parameters); } OAuthenticatorV1(OAuthToken consumerOAuthToken);   OAuthenticatorV1(OAuthToken consumerOAuthToken, VariantProvider variantProvider); }
OAuthenticatorV1 implements OAuthenticator { public List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException { return OAuthsV1.oauth(variantProvider, consumerOAuthToken, accessOAuthToken, methodType, url, parameters); } OAuthenticatorV1(OAuthToken consumerOAuthToken);   OAuthenticatorV1(OAuthToken consumerOAuthToken, VariantProvider variantProvider); List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters); }
OAuthenticatorV1 implements OAuthenticator { public List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException { return OAuthsV1.oauth(variantProvider, consumerOAuthToken, accessOAuthToken, methodType, url, parameters); } OAuthenticatorV1(OAuthToken consumerOAuthToken);   OAuthenticatorV1(OAuthToken consumerOAuthToken, VariantProvider variantProvider); List<EncodedPair> oauth(OAuthToken accessOAuthToken, MethodType methodType, String url, EncodedPair... parameters);  }