@Test(expected = Exception.class) public void testUserInfoTokenServices() { UserInfoTokenServices userInfoTokenServices = new UserInfoTokenServices("", ""); userInfoTokenServices.forTest(); }
public UserInfoTokenServices(String userInfoEndpointUrl, String clientId) { this.userInfoEndpointUrl = userInfoEndpointUrl; this.clientId = clientId; }
UserInfoTokenServices extends RemoteTokenServices { public UserInfoTokenServices(String userInfoEndpointUrl, String clientId) { this.userInfoEndpointUrl = userInfoEndpointUrl; this.clientId = clientId; } }
UserInfoTokenServices extends RemoteTokenServices { public UserInfoTokenServices(String userInfoEndpointUrl, String clientId) { this.userInfoEndpointUrl = userInfoEndpointUrl; this.clientId = clientId; } UserInfoTokenServices(String userInfoEndpointUrl, String clientId); }
UserInfoTokenServices extends RemoteTokenServices { public UserInfoTokenServices(String userInfoEndpointUrl, String clientId) { this.userInfoEndpointUrl = userInfoEndpointUrl; this.clientId = clientId; } UserInfoTokenServices(String userInfoEndpointUrl, String clientId); void setTokenType(String tokenType); void setRestTemplate(OAuth2RestOperations restTemplate); void setAuthoritiesExtractor(AuthoritiesExtractor authoritiesExtractor); void forTest(); @Override OAuth2Authentication loadAuthentication(String accessToken); @Override OAuth2AccessToken readAccessToken(String accessToken); }
UserInfoTokenServices extends RemoteTokenServices { public UserInfoTokenServices(String userInfoEndpointUrl, String clientId) { this.userInfoEndpointUrl = userInfoEndpointUrl; this.clientId = clientId; } UserInfoTokenServices(String userInfoEndpointUrl, String clientId); void setTokenType(String tokenType); void setRestTemplate(OAuth2RestOperations restTemplate); void setAuthoritiesExtractor(AuthoritiesExtractor authoritiesExtractor); void forTest(); @Override OAuth2Authentication loadAuthentication(String accessToken); @Override OAuth2AccessToken readAccessToken(String accessToken);  }