linusnorton/xFrame — pull request #2 by h1ppo (2012-03-08 15:00:18+00:00)
Title: Authentication

Have added an authenticator interface along with a concrete implementation in PDO.
Example usage:
```php
$pdo = new PDO("mssql:host=$host;dbname=$dbname, $user, $pass");
$authenticator = new \xframe\authentication\PDOAutheticator($pdo, "user_table", "email", "password");
$authenticator->authenticate("joe@bloggs.com", sha1("zbc123"));
if ($authenticator->getResult()->isValid()) {
echo "yay";
} else {
echo "nay";
}
```