Zend-expressive-authentication-oauth2 is middleware for Expressive and PSR-7 applications providing an OAuth2 server for authentication.
This library uses the league/oauth2-server package for implementing the OAuth2 server. It supports all the following grant types:
- client credentials;
- password;
- authorization code;
- implicit;
- refresh token;
This repository contains a work in progress project for building an authentication module for Expressive and PSR-7 applications. It also provides an OAuth2 adapter for zend-expressive-authentication library.
Please, don't use this code in a production environment!
You can install the zend-expressive-authentication-oauth2 library with composer:
$ composer require zendframework/zend-expressive-authentication-oauth2
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.