File "MatchInterface.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/better-wp-security/vendor-prod/bjeavons/zxcvbn-php/src/Matchers/MatchInterface.php
File size: 696 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * @license MIT
 *
 * Modified using Strauss.
 * @see https://github.com/BrianHenryIE/strauss
 */

declare(strict_types=1);

namespace iThemesSecurity\Strauss\ZxcvbnPhp\Matchers;

interface MatchInterface
{
    /**
     * Match this password.
     *
     * @param string $password   Password to check for match
     * @param array  $userInputs Array of values related to the user (optional)
     * @code array('Alice Smith')
     * @endcode
     *
     * @return array|BaseMatch[] Array of Match objects
     */
    public static function match(string $password, array $userInputs = []): array;

    public function getGuesses(): float;

    public function getGuessesLog10(): float;
}