I work on project based on Laravel 4 and I will provide Rest API, want to authenticate request using OAuth 2,
I try https://packagist.org/packages/lucadegasperi/oauth2-server-laravel
but when try to run
Route::post('oauth/access_token', function()
{
return AuthorizationServer::performAccessTokenFlow();
});
I recieved
Class 'AuthorizationServer' not found
how to solve this? or there are another tool?