oauth2-server/index.md

48 lines
2.2 KiB
Markdown
Raw Normal View History

2014-10-01 03:03:42 +05:30
---
layout: default
2014-10-01 03:24:54 +05:30
title: Introduction
2014-10-01 03:03:42 +05:30
---
2014-10-01 03:14:18 +05:30
# Introduction
2014-10-06 21:44:19 +05:30
[![Author](http://img.shields.io/badge/author-@alexbilbie-yellow.svg?style=flat-square)](https://twitter.com/alexbilbie)
2014-10-01 03:24:54 +05:30
[![Source Code](http://img.shields.io/badge/source-thephpleague%2Foauth2--server-blue.svg?style=flat-square)](https://github.com/thephpleague/oauth2-server)
[![Latest Version](http://img.shields.io/packagist/v/league/oauth2-server.svg?style=flat-square)](https://github.com/thephpleague/oauth2-server/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)<br />
[![Build Status](https://img.shields.io/travis/thephpleague/oauth2-server/master.svg?style=flat-square)](https://travis-ci.org/thephpleague/oauth2-server)
2014-12-11 19:59:52 +05:30
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/thephpleague/oauth2-server.svg?style=flat-square)](http://oauth2.thephpleague.com/master/)
2014-10-01 03:24:54 +05:30
[![Quality Score](https://img.shields.io/scrutinizer/g/thephpleague/oauth2-server.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/oauth2-server)
[![Total Downloads](https://img.shields.io/packagist/dt/league/oauth2-server.svg?style=flat-square)](https://packagist.org/packages/league/oauth2-server)
2014-10-01 03:14:18 +05:30
This library makes working with OAuth 2.0 trivial. You can easily configure an OAuth 2.0 server to protect your API with access tokens, or allow clients to request new access tokens and refresh them.
It supports out of the box the following grants:
* Authorization code grant
* Client credentials grant
* Resource owner password credentials grant
* Refresh grant
You can also define your own grants.
In addition it supports the following token types:
* Bearer tokens
2014-12-28 05:05:40 +05:30
* MAC tokens
2014-10-01 03:32:10 +05:30
* JSON web tokens (coming soon)
2014-11-09 17:21:54 +05:30
## Changelog
The changelog can be viewed here - [https://github.com/thephpleague/oauth2-server/blob/master/CHANGELOG.md](https://github.com/thephpleague/oauth2-server/blob/master/CHANGELOG.md).
2014-12-28 04:34:36 +05:30
The latest release is `4.1.0` (released 2014-12-27):
2014-11-09 17:21:54 +05:30
2014-12-28 04:34:36 +05:30
* Added MAC token support (Issue #158)
* Fixed example init code (Issue #280)
* Toggle refresh token rotation (Issue #286)
* Docblock fixes
2014-11-09 17:21:54 +05:30
2014-10-01 03:32:10 +05:30
## Questions?
This library was created by Alex Bilbie. Find him on Twitter at [@alexbilbie](https://twitter.com/alexbilbie).