Files
YeePay/lib/Auth/YopCredentialProvider.php
2024-04-01 09:54:43 +08:00

27 lines
533 B
PHP

<?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);
}