Pony.fm/app/Library/PFMAuth.php

26 lines
522 B
PHP
Raw Normal View History

2015-08-30 15:01:12 +02:00
<?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(), 'Entities\User');
}
}