如何在Laravel 4中构建REST API并添加用户

use*_*129 3 api rest laravel laravel-4

我正在与Laravel 4合作尝试构建REST API.我必须创建一个资源丰富的控制器,模型和相关视图来管理多个api使用者.我希望每个api使用者(至少)拥有api_key和shared_secret的属性.我一直在查询Jeremy Kendall关于Query Auth的页面@ http://jeremykendall.net/2013/08/13/api-query-authentication-with-query-auth/.我变得非常困惑.我不明白应该去哪里.

小智 7

这是一个关于用户身份验证的教程:https://medium.com/on-coding/e8d93c9ce0e2

这是关于ACL的一个:https://medium.com/on-coding/a7f2fa1f9791

这里是关于L4中REST API的一个:https://medium.com/on-coding/c643022433ad