josephblock/rocksoauth

dev-master 2023-07-26 22:43 UTC

This package is auto-updated.

Last update: 2025-05-27 02:55:56 UTC


README

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