澳门大阳城

Variables

server/examples/pdo/authorize.php File Reference

Go to the source code of this file.

Variables

 $oauth = new PDOOAuth2()
if($_POST) $auth_params = $oauth->getAuthorizeParams()

Detailed Description

Sample authorize endpoint.

Obviously not production-ready code, just simple and to the point.

In reality, you'd probably use a nifty framework to handle most of the crud for you.

Definition in file authorize.php.


Variable Documentation

if ($_POST) $auth_params = $oauth->getAuthorizeParams()

Definition at line 20 of file authorize.php.

$oauth = new PDOOAuth2()

Definition at line 14 of file authorize.php.

Generated on Tue Jan 25 2011 17:54:04 for oauth2-php by  doxygen 1.7.1
【网站地图】