mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
A spec compliant, secure by default PHP OAuth 2.0 Server
385111a1f2
Conflicts: src/OAuth2/Authentication/Server.php src/Oauth2/Resource/Server.php |
||
---|---|---|
build | ||
sql | ||
src/OAuth2 | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
build.xml | ||
composer.json | ||
license.txt | ||
README.md |
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
- Support for JSON web tokens.
- Support for SAML assertions.
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.