Skip to content

tvpmb/php-oauth-examples

Repository files navigation

=== 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages