OAuth2 (server) authentication middleware for Expressive and PSR-7 applications.
This library uses the league/oauth2-server package for implementing the OAuth2 server. It supports all the following grant types:
- client credentials;
- authorization code;
- 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
$ mkdocs build
You may also browse the documentation online.