Add oauth2 adapter as a service

This commit is contained in:
Nicolas Le Goff
2014-03-12 15:04:49 +01:00
parent 40ff8968e9
commit fa9189f78a
5 changed files with 38 additions and 12 deletions

View File

@@ -80,9 +80,9 @@ class API_OAuth2_Adapter extends OAuth2
* @param Application $app
* @return API_OAuth2_Adapter
*/
public function __construct(Application $app)
public function __construct(Application $app, array $conf = [])
{
parent::__construct();
parent::__construct($conf);
$this->app = $app;
$this->params = [];
}