A spec compliant, secure by default PHP OAuth 2.0 Server
Go to file
2013-02-13 20:12:51 +00:00
build Ignore vendor/phpunit 2013-02-12 20:33:40 +00:00
sql Fixed missing fields in oauth_sessions table 2013-02-13 19:35:42 +00:00
src/OAuth2 Updated docblocks 2013-02-13 19:59:08 +00:00
tests Broke up grants into their own tests 2013-02-13 20:12:51 +00:00
.gitattributes Added a .gitattributes file 2012-09-19 19:48:32 +01:00
.gitignore Added more files+folders to ignore 2013-02-13 19:37:40 +00:00
.travis.yml Ensure Travis installs Mockery 2013-02-04 19:47:11 +00:00
build.xml
composer.json Require mockery for unit tests 2013-02-04 19:45:03 +00:00
license.txt
README.md Changed Case of Oauth2 namespace to OAuth2 namespace 2013-01-08 16:35:29 -05:00

PHP OAuth Framework

The goal of this project is to develop a standards compliant OAuth 2 authentication server, resource server and client library with support for a major OAuth 2 providers.

Package Installation

The framework is provided as a Composer package which can be installed by adding the package to your composer.json file:

{
	"require": {
		"lncd\OAuth2": "*"
	}
}

Package Integration

Check out the wiki

Current Features

Authentication Server

The authentication server is a flexible class that supports the following grants:

  • authentication code
  • refresh token
  • client credentials
  • password (user credentials)

Resource Server

The resource server allows you to secure your API endpoints by checking for a valid OAuth access token in the request and ensuring the token has the correct permission to access resources.

Future Goals

Authentication Server

Client support


This code will be developed as part of the Linkey project which has been funded by JISC under the Access and Identity Management programme.