Pony.fm/app/Library/PFMAuth.php
2015-10-23 18:22:14 -07:00

26 lines
No EOL
530 B
PHP

<?php
use Illuminate\Auth\EloquentUserProvider;
use Illuminate\Contracts\Hashing\Hasher;
class NullHasher implements Hasher
{
public function make($value, array $options = array())
{
}
public function check($value, $hashedValue, array $options = array())
{
}
public function needsRehash($hashedValue, array $options = array())
{
}
}
class PFMAuth extends EloquentUserProvider
{
function __construct()
{
parent::__construct(new NullHasher(), 'Poniverse\Ponyfm\User');
}
}