Oauth2ClientRestTemplate { @Deprecated public OAuth2RestOperations implicitResourceRestTemplate(String client_id, String client_secret, String authorization_uri, String access_token_uri, String... scope) { if (!authorization_uri.contains("authorize")) throw new RuntimeException("uri is wrong : authorization_uri" + authorization_uri); ImplicitResourceDetails details = new ImplicitResourceDetails(); details.setId("2"); details.setClientId(client_id); if (client_secret != null && !client_secret.isEmpty()) details.setClientSecret(client_secret); details.setAccessTokenUri(authorization_uri); details.setClientAuthenticationScheme(AuthenticationScheme.header); details.setUseCurrentUri(true); details.setScope(Arrays.asList(scope)); return new OAuth2RestTemplate(details, oAuth2ClientContext); }  OAuth2RestOperations authorizationCodeRestTemplate(String client_id, String client_secret, String authorization_uri, String access_token_uri, String... scope); @Deprecated OAuth2RestOperations implicitResourceRestTemplate(String client_id, String client_secret, String authorization_uri, String access_token_uri, String... scope); @Deprecated OAuth2RestOperations resourceOwnerPasswordRestTemplate(String client_id, String client_secret, String access_token_uri, String username, String password, String... scope); OAuth2RestOperations clientCredentialsRestTemplate(String client_id, String client_secret, String access_token_uri, String... scope);  }
@Test public void testImplicitResourceRestTemplate() throws Exception { }