Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Degasperi committed Oct 17, 2013
1 parent d24192c commit 97b5507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,13 @@ Route::get('secure-route', array('before' => 'oauth:scope1,scope2', function(){
An interesting addition is the possibility to limit an endpoint to a specific owner type when using the client credentials grant type. It can be achieved by adding the ```oauth-owner``` before filter to your route.

```php
Route::get('secure-route', array('before' => 'oauth:scope1,scope2|oauth-owner:client, function(){
Route::get('secure-route', array('before' => 'oauth:scope1,scope2|oauth-owner:client', function(){
return "oauth secured route for clients only";
}));
```


The aim of this package is to make working with oauth2 server stuff in Laravel a breeze. You can still access all the undelying power of the league/oauth2-server package via the ```ResourceServer``` facade.
The aim of this package is to make working with oauth2 server stuff in Laravel a breeze. You can still access all the undelying power of the league/oauth2-server package via the ```ResourceServer``` and ```AuthorizationServer``` facades.

## Support

Expand Down

0 comments on commit 97b5507

Please sign in to comment.