JosephBlock / rocksOauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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");

About

License:MIT License


Languages

Language:PHP 100.0%