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

29 lines
612 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);
namespace FireflyIII\Support\Password;
/**
* Interface Verifier
*
* @package FireflyIII\Support\Password
*/
interface Verifier
{
/**
* Verify the given password against (some) service.
* @param string $password
*
* @return bool
*/
public function validPassword(string $password): bool;
}