gridsby / oauth-cli
CLI-tool for OAuth tests
dev-master
2014-02-02 09:38 UTC
Requires
- aip/aip: ~0.10.0
- symfony/console: ~2.4
- symfony/http-foundation: ~2.4
- symfony/yaml: ~2.4
- twig/twig: ~1.15
This package is not auto-updated.
Last update: 2024-11-05 07:06:00 UTC
README
Installation
The recommended way to install OAuth-client is through
composer. Just create a composer.json
file and
run the php composer.phar install
command to install it:
{
"require": {
"gridsby/oauth-cli": "dev-master"
}
}
Usage
run ./vendor/bin/oauth-client
to get list of actions.
request-token
— fetches Request Token [6.1]authorize-token
— provides URL for token authorization [6.2]access-token [PIN]
— exchanges authorized Request Token for Access Token (if PIN is not given on command-line it will be explicitly requested) [6.3]webapp
— starts a web-app on http://127.0.0.1:8081/ which can be used for live-test of OAuth