slovocast/code/src/Infrastructure/User/UserAuthorizationInterface.php

10 lines
209 B
PHP

<?php
namespace Slovocast\Infrastructure\User;
interface UserAuthorizationInterface
{
public function hash(string $password): string;
public function verify(string $password, string $hash): bool;
}