PHP code example of jojijacobk / access-sso-protected-data

1. Go to this page and download the library: Download jojijacobk/access-sso-protected-data library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jojijacobk / access-sso-protected-data example snippets


   

   Url_1 = "https://jira.your-company.com/jira/rest/api/2/search?jql=xxx";
   $requestUrl_2 = "https://confluence.your-company.com/confluence/rest/api/content/yyy";

   echo \jojijacobk\access_sso_protected_data\DataStreamer::read($requestUrl_1);
   echo \jojijacobk\access_sso_protected_data\DataStreamer::read($requestUrl_2);