diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..e2229628 --- /dev/null +++ b/composer.json @@ -0,0 +1,33 @@ +{ + "name": "lncd/oauth2server", + "description": "OAuth 2.0 server", + "version": "0.0.1", + "require": { + "php": ">=5.3.0", + }, + "repositories": [ + { + "type": "git", + "url": "https://github.com/lncd/oauth2server" + } + ], + "keywords": [ + "oauth", + "oauth2", + "server" + ], + "license": "MIT", + "authors": [ + { + "name": "Alex Bilbie", + "email": "php-oauth2-server@alexbilbie.com", + "homepage": "http://www.httpster.org", + "role": "Developer" + } + ], + "autoload": { + "psr-0": { + "oauth2server": "src/" + } + } +} \ No newline at end of file diff --git a/src/oauth2server/AccessToken.php b/src/oauth2server/AccessToken.php new file mode 100644 index 00000000..8fa8e144 --- /dev/null +++ b/src/oauth2server/AccessToken.php @@ -0,0 +1,26 @@ +