Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 404 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 404 Bytes

rocksOauth

rocksOauth v1.0

install using Composer: composer require josephblock/rocksoauth

Example in examples/login.php

//set up rocksOauth
$r=new rocksOauth();
/*
 * Change values to what you need
 * scopes are set as constants
*/
$r->setClient("Your client here");
$r->setSecret("Your secret here");
$r->addScope(array("Add scopes here"));
$r->setRedirect("redirect URL here");