zf-fr / zfr-oauth2-server

PHP library for creating an OAuth 2 server (currently proof of concept)
BSD 3-Clause "New" or "Revised" License
36 stars 13 forks source link

Scopes #82

Closed basz closed 7 years ago

basz commented 7 years ago

This PR fixes a bug where requesting tokens with a scope would fail due to incorrect arguments

Additionally; I've limited the scope arguments to arrays with strings or Scope's and changed the method used Scope to strings are handled via an array_map (string) call

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 99.789% when pulling a8af4698915be53de821d766e809c25f5a4ee689 on basz:scopes into 36b07e36dc5832bf067b303ae492952df232d262 on zf-fr:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 0fee677bf545a2e7cba8cac9318ee04be93c9635 on basz:scopes into 36b07e36dc5832bf067b303ae492952df232d262 on zf-fr:master.