Skip to content

Instantly share code, notes, and snippets.

@wesleyvicthor
Created January 22, 2013 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesleyvicthor/4596264 to your computer and use it in GitHub Desktop.
Save wesleyvicthor/4596264 to your computer and use it in GitHub Desktop.
a simple oauth client api.
<?php
$router->oauth('secret', 'key')->handle('access_token_uri', function ($token) {
// do whatever you want with your token.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment