2017 © Pedro Peláez
 

library oauth-cli

CLI-tool for OAuth tests

image

gridsby/oauth-cli

CLI-tool for OAuth tests

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

oauth-client

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:, (*1)

{
    "require": {
        "gridsby/oauth-cli": "dev-master"
    }
}

Usage

run ./vendor/bin/oauth-client to get list of actions., (*2)

  • 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

The Versions