/** * Executes the call to the REST Service and processes the response. * * @param accessToken The access token obtained from the oxAuth authorization request. * @return The service response. */ public UserInfoResponse execUserInfo(String accessToken) { setRequest(new UserInfoRequest(accessToken)); return exec(); }
public void exec() { try { UserInfoRequest request = new UserInfoRequest(accessToken); request.setAuthorizationMethod(authorizationMethod); UserInfoClient client = new UserInfoClient(userInfoEndpoint); client.setRequest(request); client.exec(); showResults = true; requestString = client.getRequestAsString(); responseString = client.getResponseAsString(); } catch (Exception e) { log.error(e.getMessage(), e); } }
userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
UserInfoClient userInfoClient = new UserInfoClient(userInfoEndpoint); userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setPrivateKey(privateKey); userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setSharedKey(clientSecret); userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setSharedKey(clientSecret); userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setJwksUri(jwksUri); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setJwksUri(jwksUri); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setPrivateKey(privateKey); userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setPrivateKey(privateKey); userInfoClient.setRequest(userInfoRequest); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setPrivateKey(privateKey); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setSharedKey(clientSecret); UserInfoResponse userInfoResponse = userInfoClient.exec();
userInfoClient.setRequest(userInfoRequest); userInfoClient.setJwksUri(jwksUri); UserInfoResponse userInfoResponse = userInfoClient.exec();