HOME


Mini Shell 1.0
DIR:/usr/local/cwpsrv/var/services/oauth/v2/server/OAuth2/Storage/
Upload File :
Current File : //usr/local/cwpsrv/var/services/oauth/v2/server/OAuth2/Storage/PublicKeyInterface.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
{
    /**
     * @param mixed $client_id
     * @return mixed
     */
    public function getPublicKey($client_id = null);

    /**
     * @param mixed $client_id
     * @return mixed
     */
    public function getPrivateKey($client_id = null);

    /**
     * @param mixed $client_id
     * @return mixed
     */
    public function getEncryptionAlgorithm($client_id = null);
}