resource.setUserInfoUri(isSet(userInfoUri) ? userInfoUri : resource.getUserInfoUri());
.setPreEstablishedRedirectUri(client.getPreEstablishedRedirectUri()) .setUseCurrentUri(client.getUseCurrentUri()); Resource newResource = new Resource(); UserInfoMapping newUserInfoMapping = new UserInfoMapping(); newClient.setScope("profile email"); newResource.setUserInfoUri("https://www.googleapis.com/oauth2/v3/userinfo"); newClient.setScope("user:email"); newResource.setUserInfoUri("https://api.github.com/user"); newClient.setScope("openid urn:opc:idm:__myscopes__"); newResource.setUserInfoUri(idcsBaseUrl + "/oauth2/v1/userinfo"); newClient.setClientAuthenticationScheme("query"); newResource.setUserInfoUri("https://graph.windows.net/me?api-version=1.6"); newClient.setClientAuthenticationScheme(client.getClientAuthenticationScheme()); newResource.setUserInfoUri(resource.getUserInfoUri());
.setPreEstablishedRedirectUri(client.getPreEstablishedRedirectUri()) .setUseCurrentUri(client.getUseCurrentUri()); Resource newResource = new Resource(); UserInfoMapping newUserInfoMapping = new UserInfoMapping(); newClient.setScope("profile email"); newResource.setUserInfoUri("https://www.googleapis.com/oauth2/v3/userinfo"); newClient.setScope("user:email"); newResource.setUserInfoUri("https://api.github.com/user"); newClient.setScope("openid urn:opc:idm:__myscopes__"); newResource.setUserInfoUri(idcsBaseUrl + "/oauth2/v1/userinfo"); newClient.setClientAuthenticationScheme("query"); newResource.setUserInfoUri("https://graph.windows.net/me?api-version=1.6"); newClient.setClientAuthenticationScheme(client.getClientAuthenticationScheme()); newResource.setUserInfoUri(resource.getUserInfoUri());
resource.setUserInfoUri(isSet(userInfoUri) ? userInfoUri : resource.getUserInfoUri());