2017 © Pedro Peláez
 

project oauth

image

sebardo/oauth

  • Saturday, February 25, 2017
  • by sebardo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

rest

Call to retrieve access_token (client must have grant_type="client_credentials"):, (*1)

curl 'http://127.0.0.1:8000/oauth/v2/token? grant_type=client_credentials& client_id=6_2p9r8qlmngmc44sc48o8g0gko4c404swsgwo0osgk4gk8o8sgs& client_secret=2vz7pzy1jack0wc4c40sk8kwkosc4wo4ks080wwwsco4sw4w8c& scope=read', (*2)

ODYwMjgwNjhkM2EzYjI2MGMyMDgzYTA4Mzc5ZDYyZTAwZWVlNTdhNzlhZmFjYWJkMTkyYTY5YjE3MDZmOGI1Nw, (*3)

curl 'http://127.0.0.1:8000/api/user/2' -H 'Authorization: Bearer ODYwMjgwNjhkM2EzYjI2MGMyMDgzYTA4Mzc5ZDYyZTAwZWVlNTdhNzlhZmFjYWJkMTkyYTY5YjE3MDZmOGI1Nw', (*4)

The Versions