firefly-iii/app/Services/Password/Verifier.php

29 lines
614 B
PHP
Raw Normal View History

2017-08-04 08:46:52 -05:00
<?php
/**
* Verifier.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
2017-08-04 08:48:26 -05:00
namespace FireflyIII\Services\Password;
2017-08-04 08:46:52 -05:00
/**
* Interface Verifier
*
2017-08-04 08:48:26 -05:00
* @package FireflyIII\Services\Password
2017-08-04 08:46:52 -05:00
*/
interface Verifier
{
/**
* Verify the given password against (some) service.
* @param string $password
*
* @return bool
*/
public function validPassword(string $password): bool;
}