1: <?php
2: /**
3: * Chippyash Digest Authentication Manager
4: *
5: * @copyright Ashley Kitson, UK, 2014
6: * @license GPL 3.0+
7: */
8: namespace Chippyash\Authentication\Manager\Encoder;
9:
10: use Chippyash\Type\String\StringType;
11:
12: /**
13: * Interface for a Digest Encoder
14: */
15: interface DigestEncoderInterface
16: {
17: /**
18: * Return encoded digest
19: *
20: * @param StringType $uid
21: * @param StringType $pwd
22: *
23: * @return StringType
24: */
25: public function encode(StringType $uid, StringType $pwd);
26: }
27: