Files
api/interfaces/authentication_i.php
T
2024-12-16 08:54:03 +01:00

11 lines
340 B
PHP

<?php
namespace interfaces;
interface authentication_i
{
public function authenticate(int $customer_number, string $password): bool;
public function create_token(int $customer_number): string;
public function hash_password(string $password): string;
public function match_passwords(string $password, string $hash): bool;
}