PublicKeyInterface.php 407 B

12345678910111213141516
  1. <?php
  2. namespace OAuth2\Storage;
  3. /**
  4. * Implement this interface to specify where the OAuth2 Server
  5. * should get public/private key information
  6. *
  7. * @author Brent Shaffer <bshafs at gmail dot com>
  8. */
  9. interface PublicKeyInterface
  10. {
  11. public function getPublicKey($client_id = null);
  12. public function getPrivateKey($client_id = null);
  13. public function getEncryptionAlgorithm($client_id = null);
  14. }