# Release History

## 3.0.0 (2016-08-19)
- update `fkooman/rest` and `fkooman/http` dependencies

## 2.4.0 (2016-05-18)
- add `requireScope` method to `Scope` class to easily enforce a certain scope
  without having to use `hasScope`

## 2.3.0 (2016-02-26)
- update `ArrayBearerValidator` to also allow specifying 'scope' in addition
  to 'token'

## 2.2.0 (2016-02-25)
- add `ArrayBearerValidator` to validate provided Bearer token in an array
  of valid Bearer tokens in a time-constant way

## 2.1.0 (2015-12-05)
- update dependency `fkooman/http`
- improve testing of unauthorized requests
- add support for query token parameter instead of only `Authorization` header

## 2.0.0 (2015-11-19)
- major API update for new `fkooman/rest-plugin-authentication`

## 1.0.0
- update `fkooman/rest` and use `fkooman/rest-plugin-authentication`

## 0.5.3
- depend on the correct version of `guzzlehttp/client` in spec file

## 0.5.2
- update to `guzzlehttp/client`

## 0.5.1
- update spec file

## 0.5.0
- update `fkooman/rest`
- update API. No longer provide the `realm` as a parameter, but specify
  all `authParams` as an array where `realm` is an array key.

## 0.4.2
- update `fkooman/rest`
- fix missing exception use

## 0.4.1
- fix `IntrospectionBearerValidator`

## 0.4.0
- rename `TokenIntrospection` to `TokenInfo`
- allow for alternative verification backend, include introspection backend 
  with using username/password and bearer token, see example on how to use it
- remove entitlement support
- rewrite `TokenInfo` to be more complete according to 
  `draft-ietf-oauth-introspection`, remove most of the token checking, only 
  check the type of the fields and require `active` to be present.

## 0.3.1
- update to latest `fkooman/rest` to support optional authentication

## 0.3.0
- update to latest `fkooman/rest` 

## 0.2.2
- add `toString()`, `__toString()` and `toArray()` methods

## 0.2.1
- set the token in Guzzle 3.x way

## 0.2.0
- switch back to Guzzle 3.x to support `php >= 5.3.3`
- include `Scope`, `Entitlement` and `TokenIntrospection` in the plugin now

## 0.1.1
- update dependencies

## 0.1.0 
- initial release
