sugiphp/oauth2

OAuth2 Server

dev-master 2014-04-28 11:58 UTC

This package is not auto-updated.

Last update: 2024-11-23 14:23:19 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