Go to the source code of this file.
Variables | |
| $oauth = new MongoOAuth2() | |
| if($_POST) | $auth_params = $oauth->getAuthorizeParams() |
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.
| if ($_POST) $auth_params = $oauth->getAuthorizeParams() |
Definition at line 20 of file authorize.php.
| $oauth = new MongoOAuth2() |
Definition at line 14 of file authorize.php.
1.7.1