Skip to content

TrayDigita/OAuth2

Repository files navigation

OAuth2 Server & Client Library For PHP

PSR-(7/18/17) compliant OAuth 2.0 library for PHP.

Complete implementation & separation complex data structures into separate classes. Support Server & Client side of the protocol.

OAuth 2.0 Protocol Flow #Section-1.2

     +--------+                               +---------------+
     |        |--(A)- Authorization Request ->|   Resource    |
     |        |                               |     Owner     |
     |        |<-(B)-- Authorization Grant ---|               |
     |        |                               +---------------+
     |        |
     |        |                               +---------------+
     |        |--(C)-- Authorization Grant -->| Authorization |
     | Client |                               |     Server    |
     |        |<-(D)----- Access Token -------|               |
     |        |                               +---------------+
     |        |
     |        |                               +---------------+
     |        |--(E)----- Access Token ------>|    Resource   |
     |        |                               |     Server    |
     |        |<-(F)--- Protected Resource ---|               |
     +--------+                               +---------------+

Todo

  • Implementing OAuth2 Requests
  • Completing Abstract Client Provider
  • Creating Sample Provider (e.g. GitHub, Google, Facebook, etc.)
  • Creating Sample Server (e.g. Authorization Server, Resource Server, etc.)
  • Completing final classes for server implementation.
  • More Features ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages