soliantconsulting/SimpleFM

View on GitHub
src/Authentication/IdentityHandlerInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
declare(strict_types = 1);

namespace Soliant\SimpleFM\Authentication;

interface IdentityHandlerInterface
{
    public function createIdentity(string $username, string $password) : Identity;

    public function decryptPassword(Identity $identity) : string;
}