Download the PHP package jojijacobk/access-sso-protected-data without Composer
On this page you can find all versions of the php package jojijacobk/access-sso-protected-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jojijacobk/access-sso-protected-data
More information about jojijacobk/access-sso-protected-data
Files in jojijacobk/access-sso-protected-data
Package access-sso-protected-data
Short Description Read/Write data on single-sign-on protected pages with a single line of script.
License MIT
Informations about the package access-sso-protected-data
Access single-sign-on protected URLs using configured credentials, and perform read/write operations.
If you are ever on a rush for an automated script to perform read/write operation on data residing behind single-sign-on protected URL, this module is for you. Just configure a working SSO username & password into config.ini file - you are done!
- class SingleSignOn - tries to access the single-sign-on protected URL, and follows HTTP redirects to the authentication server, and pass through authentication server by posting credentials configured in config.ini file. After successful authentication, a cookie jar stores necessary cookies to perform subsequent visits to any URLs within the protected host.
- class Data Streamer - is used to perform read/write operations on protected server resources, after successfully signing into protected hosts with the help of SignleSignOn class.
How To Install
Visit packagist for details.
-
Install the package via composer
-
Make config.ini file in the root directory (where composer.json file resides). You can make the config.ini file either by copying it from
vendor/jojijacobk/access-sso-protected-data/config.ini
, or by the copying the config.ini sample as described below.config.ini
`
-
Make a PHP file in the root directory (where _composer.json & config.ini resides), let's call it
demo.php
and write the following script to read data from single-sign-on protected page:demo.php
``
Support or Contact
Github pull requests: https://github.com/jojijacobk/Access-SSO-Protected-Data
Contact me: [email protected]