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

31 lines
622 B
PHP
Raw Normal View History

2017-08-04 15:46:52 +02: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 15:48:26 +02:00
namespace FireflyIII\Services\Password;
2017-08-04 15:46:52 +02:00
/**
* Interface Verifier
*
2017-08-04 15:48:26 +02:00
* @package FireflyIII\Services\Password
2017-08-04 15:46:52 +02:00
*/
interface Verifier
{
/**
* Verify the given password against (some) service.
2017-08-12 07:47:42 +02:00
*
2017-08-04 15:46:52 +02:00
* @param string $password
*
* @return bool
*/
public function validPassword(string $password): bool;
2017-08-12 07:48:39 +02:00
}