Skip to content

YaoOcelotl/oauth2-php

This branch is 5 commits ahead of, 1 commit behind FriendsOfSymfony/oauth2-php:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5dd3c5f · Mar 31, 2020
Mar 31, 2020
Feb 9, 2014
Mar 31, 2020
Oct 5, 2016
Mar 31, 2020
Jan 25, 2011
Dec 18, 2010
Mar 22, 2019
Mar 31, 2020
Jan 25, 2011
Nov 1, 2014

Repository files navigation

OAuth2 Server Implementation

Build Status HHVM Status

This library now implements draft 20 of OAuth 2.0. The client is still only draft-10.

This version of oauth2-php is a fork of https://github.com/quizlet/oauth2-php with the following changes:

  • Namespaced
  • No more require(_once)
  • PSR-4 autoloading compatible
  • Uses HttpFoundation Request and Response for input/output
  • More testable design
  • Better test coverage
  • Event dispatch for easier customization
    • Use the oauth2.pre.grant.authorization event to modify the autorization parameters
    • Use the oauth2.generate.auth_code event to customize the access token generation
    • Use the oauth2.post.grant.authorization event to modify the autorization response variables
    • Use the oauth2.pre.grant.access_token event to modify the grant access token parameters
    • Use the oauth2.generate.access_token event to customize the access token generation
    • Use the oauth2.generate.refresh_token event to customize the refresh token generation
    • Use the oauth2.post.grant.access_token event to modify the grant access token response variables

(pull request is pending)

https://github.com/quizlet/oauth2-php is a fork of http://code.google.com/p/oauth2-php/ updated against OAuth2.0 draft 20, with a better OO design.

http://code.google.com/p/oauth2-php/ is the original repository, which seems abandonned.

About

A server implementation of OAuth 2.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.4%
  • TSQL 0.6%