Go to the source code of this file.
Variables | |
| $oauth = new MongoOAuth2() | |
Sample token 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 token.php.
| $oauth = new MongoOAuth2() |
1.7.1