2014-02-20 80 views
1

我按照本指南(http://www.lornajane.net/posts/2013/oauth-middleware-for-slim)使用php SLIM設置oAuth2。OAuth 2.0和php slim

我dont't理解這一部分:

$auth = new \Service\Mysql\AuthService($this->mysql, $this->config); 
      $validated_user_id = $auth->verifyOAuth($authHeader); 
      $this->app->user_id = $validated_user_id; 

我在哪裏可以走班\服務\ mysql的\ AuthService,什麼是變量的配置? 否則有沒有更多的細節也沒有直接SLIM實施的另一個指南?

感謝

回答