| Server IP : 121.121.20.254 / Your IP : 216.73.217.84 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/PHP83/examples/ |
Upload File : |
=== CONFIGURATION === 2 things need updated with information from the OAuth service provider: * config.inc.php * the URL's of the providers resources (to get tokens, manipulate user info, etc.) === RUNNING EXAMPLES === To run the examples: 1) Execute request_token.php 2) Direct your web browser to the URL provided and authorize the access 3) Execute access_token.php After the above steps, the application examples can be run. There are several directories here which relate to OAuth service providers and their interfaces. The current directory contains generic examples. Please contribute to example code for new providers as they come along accordingly. The example code writes token information to /tmp in a static file, this is not a good idea for anything beyond tinkering, you should store these tokens somewhere safer.