first commit
This commit is contained in:
22
lib/Auth/Encryptor.php
Normal file
22
lib/Auth/Encryptor.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Yeepay\Yop\Sdk\Auth;
|
||||
|
||||
use Yeepay\Yop\Sdk\Internal\Request;
|
||||
|
||||
interface Encryptor
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $request
|
||||
* @return mixed
|
||||
*/
|
||||
public function encrypt(Request $request);
|
||||
|
||||
/**
|
||||
* @param $content
|
||||
* @return mixed
|
||||
*/
|
||||
public function decrypt($content);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user