Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 639 Bytes
<?php
namespace LdcZfcUserOAuth2\Storage;
use OAuth2\Storage\Pdo as OAuth2Pdo;
class ZfcUserPdo extends OAuth2Pdo
{
/**
* @var ZfcUserStorageBridge
*/
protected $bridge;
public function __construct($connection, $config, ZfcUserStorageBridge $bridge)
{
parent::__construct($connection, $config);
$this->bridge = $bridge;
}
public function checkUserCredentials($username, $password)
{
return $this->bridge->checkUserCredentials($username, $password);
}
public function getUserDetails($username)
{
return $this->bridge->getUserDetails($username);
}
}