File indexing completed on 2024-12-22 05:36:52

0001 <?php
0002 /**
0003  * Zend Framework
0004  *
0005  * LICENSE
0006  *
0007  * This source file is subject to the new BSD license that is bundled
0008  * with this package in the file LICENSE.txt.
0009  * It is also available through the world-wide-web at this URL:
0010  * http://framework.zend.com/license/new-bsd
0011  * If you did not receive a copy of the license and are unable to
0012  * obtain it through the world-wide-web, please send an email
0013  * to license@zend.com so we can send you a copy immediately.
0014  *
0015  * @category   Zend
0016  * @package    Zend_Oauth
0017  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
0018  * @license    http://framework.zend.com/license/new-bsd     New BSD License
0019  * @version    $Id$
0020  */
0021 
0022 /**
0023  * @category   Zend
0024  * @package    Zend_Oauth
0025  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
0026  * @license    http://framework.zend.com/license/new-bsd     New BSD License
0027  */
0028 interface Zend_Oauth_Config_ConfigInterface
0029 {
0030     public function setOptions(array $options);
0031 
0032     public function setConsumerKey($key);
0033 
0034     public function getConsumerKey();
0035 
0036     public function setConsumerSecret($secret);
0037 
0038     public function getConsumerSecret();
0039 
0040     public function setSignatureMethod($method);
0041 
0042     public function getSignatureMethod();
0043 
0044     public function setRequestScheme($scheme);
0045 
0046     public function getRequestScheme();
0047 
0048     public function setVersion($version);
0049 
0050     public function getVersion();
0051 
0052     public function setCallbackUrl($url);
0053 
0054     public function getCallbackUrl();
0055 
0056     public function setRequestTokenUrl($url);
0057 
0058     public function getRequestTokenUrl();
0059 
0060     public function setRequestMethod($method);
0061 
0062     public function getRequestMethod();
0063 
0064     public function setAccessTokenUrl($url);
0065 
0066     public function getAccessTokenUrl();
0067 
0068     public function setUserAuthorizationUrl($url);
0069 
0070     public function getUserAuthorizationUrl();
0071 
0072     public function setToken(Zend_Oauth_Token $token);
0073 
0074     public function getToken();
0075 
0076     public function setRealm($realm);
0077 
0078     public function getRealm();
0079 }