@Test public void buildAuthorizeUrl_customAuthorizeParameters() { OAuth1Parameters parameters = new OAuth1Parameters(null); parameters.setCallbackUrl("https: assertEquals(AUTHORIZE_URL + "?oauth_token=request_token&oauth_callback=https%3A%2F%2Fwww.someclient.com%2Foauth%2Fcallback&custom_parameter=custom_parameter_value", customOauth10.buildAuthorizeUrl("request_token", parameters)); }
public String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters) { return buildAuthUrl(authorizeUrl, requestToken, parameters); }
OAuth1Template implements OAuth1Operations { public String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters) { return buildAuthUrl(authorizeUrl, requestToken, parameters); } }
OAuth1Template implements OAuth1Operations { public String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters) { return buildAuthUrl(authorizeUrl, requestToken, parameters); } OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl, OAuth1Version version);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String authenticateUrl, String accessTokenUrl);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String authenticateUrl, String accessTokenUrl, OAuth1Version version); }
OAuth1Template implements OAuth1Operations { public String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters) { return buildAuthUrl(authorizeUrl, requestToken, parameters); } OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl, OAuth1Version version);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String authenticateUrl, String accessTokenUrl);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String authenticateUrl, String accessTokenUrl, OAuth1Version version); void setRequestFactory(ClientHttpRequestFactory requestFactory); OAuth1Version getVersion(); OAuthToken fetchRequestToken(String callbackUrl, MultiValueMap<String, String> additionalParameters); String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters); String buildAuthenticateUrl(String requestToken, OAuth1Parameters parameters); OAuthToken exchangeForAccessToken(AuthorizedRequestToken requestToken, MultiValueMap<String, String> additionalParameters); }
OAuth1Template implements OAuth1Operations { public String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters) { return buildAuthUrl(authorizeUrl, requestToken, parameters); } OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl, OAuth1Version version);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String authenticateUrl, String accessTokenUrl);  OAuth1Template(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String authenticateUrl, String accessTokenUrl, OAuth1Version version); void setRequestFactory(ClientHttpRequestFactory requestFactory); OAuth1Version getVersion(); OAuthToken fetchRequestToken(String callbackUrl, MultiValueMap<String, String> additionalParameters); String buildAuthorizeUrl(String requestToken, OAuth1Parameters parameters); String buildAuthenticateUrl(String requestToken, OAuth1Parameters parameters); OAuthToken exchangeForAccessToken(AuthorizedRequestToken requestToken, MultiValueMap<String, String> additionalParameters);  }