chippyash/Authentication-Manager

View on GitHub
src/Chippyash/Authentication/Manager/Encoder/DigestEncoderInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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);
}