sugiphp / oauth2
OAuth2 Server
dev-master
2014-04-28 11:58 UTC
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-11-09 14:11:33 UTC
README
Authorization Server
based on RFC6749
Supports several grant types:
- implicit
- authorization code
- username/password pair
- client credentials
- refresh token
Your custom server implementation can specify which grant types to support implementing one or more interfaces - ImplicitInterface, AuthCodeInterface etc. This will eliminate the need to implement something you will not use.
Resource Server
Uses bearer tokens as desribed in RFC6750
Client
The client is not very stable for now! But you can use one of many existing OAuth2 clients
TODO
- add support for MAC tokens (http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-02)