aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/PublicKeyInterface.php
blob: 108418d3a3ac641d36179e0cce9f34596b3b57d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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);
}