src/Chippyash/Authentication/Manager/Encoder/DigestEncoderInterface.php
<?php
/**
* Chippyash Digest Authentication Manager
*
* @copyright Ashley Kitson, UK, 2014
* @license GPL 3.0+
*/
namespace Chippyash\Authentication\Manager\Encoder;
use Chippyash\Type\String\StringType;
/**
* Interface for a Digest Encoder
*/
interface DigestEncoderInterface
{
/**
* Return encoded digest
*
* @param StringType $uid
* @param StringType $pwd
*
* @return StringType
*/
public function encode(StringType $uid, StringType $pwd);
}