@Test public void buildOAuthUrl_OAuth10a_withAdditionalParameters() { ConnectSupport support = new ConnectSupport(); MockHttpServletRequest mockRequest = new PortAwareMockHttpServletRequest(); mockRequest.setScheme("https"); mockRequest.setServerPort(443); mockRequest.setServerName("somesite.com"); mockRequest.setRequestURI("/connect/someprovider"); ServletWebRequest request = new ServletWebRequest(mockRequest); MultiValueMap<String, String> additionalParameters = new LinkedMultiValueMap<String, String>(); additionalParameters.set("display", "popup"); String url = support.buildOAuthUrl(new TestOAuth1ConnectionFactory(OAuth1Version.CORE_10_REVISION_A), request, additionalParameters); assertEquals("https: }
public String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request) { return buildOAuthUrl(connectionFactory, request, null); }
ConnectSupport { public String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request) { return buildOAuthUrl(connectionFactory, request, null); } }
ConnectSupport { public String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request) { return buildOAuthUrl(connectionFactory, request, null); } ConnectSupport();  ConnectSupport(SessionStrategy sessionStrategy); }
ConnectSupport { public String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request) { return buildOAuthUrl(connectionFactory, request, null); } ConnectSupport();  ConnectSupport(SessionStrategy sessionStrategy); void setUseAuthenticateUrl(boolean useAuthenticateUrl); void setApplicationUrl(String applicationUrl); void setCallbackUrl(String callbackUrl); String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request); String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request, MultiValueMap<String, String> additionalParameters); Connection<?> completeConnection(OAuth1ConnectionFactory<?> connectionFactory, NativeWebRequest request); Connection<?> completeConnection(OAuth2ConnectionFactory<?> connectionFactory, NativeWebRequest request); }
ConnectSupport { public String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request) { return buildOAuthUrl(connectionFactory, request, null); } ConnectSupport();  ConnectSupport(SessionStrategy sessionStrategy); void setUseAuthenticateUrl(boolean useAuthenticateUrl); void setApplicationUrl(String applicationUrl); void setCallbackUrl(String callbackUrl); String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request); String buildOAuthUrl(ConnectionFactory<?> connectionFactory, NativeWebRequest request, MultiValueMap<String, String> additionalParameters); Connection<?> completeConnection(OAuth1ConnectionFactory<?> connectionFactory, NativeWebRequest request); Connection<?> completeConnection(OAuth2ConnectionFactory<?> connectionFactory, NativeWebRequest request);  }