17 lines
407 B
PHP
17 lines
407 B
PHP
|
<?php
|
||
|
|
||
|
namespace OAuth2\Storage;
|
||
|
|
||
|
/**
|
||
|
* Implement this interface to specify where the OAuth2 Server
|
||
|
* should get public/private key information
|
||
|
*
|
||
|
* @author Brent Shaffer <bshafs at gmail dot com>
|
||
|
*/
|
||
|
interface PublicKeyInterface
|
||
|
{
|
||
|
public function getPublicKey($client_id = null);
|
||
|
public function getPrivateKey($client_id = null);
|
||
|
public function getEncryptionAlgorithm($client_id = null);
|
||
|
}
|