first commit
This commit is contained in:
27
lib/Auth/YopCredentialProvider.php
Normal file
27
lib/Auth/YopCredentialProvider.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Yeepay\Yop\Sdk\Auth;
|
||||
|
||||
interface YopCredentialProvider
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $appKey string
|
||||
* @param $credentialType string
|
||||
* @return YopRsaCredentials
|
||||
*/
|
||||
public function getCredential($appKey, $credentialType);
|
||||
|
||||
/**
|
||||
* @param $credentialType string
|
||||
* @return YopRsaCredentials
|
||||
*/
|
||||
public function getDefaultAppCredential($credentialType);
|
||||
|
||||
/**
|
||||
* @param $credentialType string
|
||||
* @return resource
|
||||
*/
|
||||
public function getYopPublicKey($credentialType);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user