Changeset 2949
- Timestamp:
- 02/18/11 13:09:55 (12 years ago)
- Location:
- plugins/oAuthManager
- Files:
-
- 2 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/oAuthManager/_define.php
r2917 r2949 17 17 /* Description*/ "Manage oAuth access for plugins and users", 18 18 /* Author */ "JC Denis", 19 /* Version */ '0. 1',19 /* Version */ '0.2-alpha2', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #20110 13022 /* date */ #20110218 23 23 ?> -
plugins/oAuthManager/_install.php
r2917 r2949 40 40 ->token('varchar',128,true,null) 41 41 ->secret('varchar',128,true,null) 42 //->code('varchar',255,true,null) 43 ->more('text',0,true,null) 42 44 ->mtime('timestamp',0,false,'now()') 43 45 ->expiry('timestamp',0,true,null) -
plugins/oAuthManager/_prepend.php
r2917 r2949 16 16 $__autoload['oAuthManager'] = dirname(__FILE__).'/inc/class.oauth.manager.php'; 17 17 $__autoload['oAuthClient'] = dirname(__FILE__).'/inc/class.oauth.client.php'; 18 $__autoload['oAuthClientStore'] = dirname(__FILE__).'/inc/lib.oauth.client.store.php'; 18 19 # oAuth 1.0a libraries 19 20 $__autoload['oAuthClient10'] = dirname(__FILE__).'/inc/lib.oauth.client.1.0.php'; 20 $__autoload['oAuthClient10Store'] = dirname(__FILE__).'/inc/lib.oauth.client.1.0.store.php'; 21 # oAuth 2.0 draft 10 librairies 22 $__autoload['oAuthClient20'] = dirname(__FILE__).'/inc/lib.oauth.client.2.0.php'; 21 23 22 24 # Use a generic script to deal with oAuth 1.0a … … 25 27 # as this script can be removed/changed at any time 26 28 require_once dirname(__FILE__).'/inc/OAuth/OAuth.php'; 27 28 29 ?> -
plugins/oAuthManager/inc/OAuth/OAuth.php
r2917 r2949 1 1 <?php 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # This file is part of oAuthManager, a plugin for Dotclear 2. 4 # 5 # Copyright (c) 2009-2011 JC Denis and contributors 6 # jcdenis@gdwd.com 7 # 8 # Licensed under the GPL version 2.0 license. 9 # A copy of this license is available in LICENSE file or at 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 11 # -- END LICENSE BLOCK ------------------------------------ 12 2 13 // vim: foldmethod=marker 3 14 -
plugins/oAuthManager/inc/class.oauth.client.php
r2917 r2949 1 1 <?php 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # This file is part of oAuthManager, a plugin for Dotclear 2. 4 # 5 # Copyright (c) 2009-2011 JC Denis and contributors 6 # jcdenis@gdwd.com 7 # 8 # Licensed under the GPL version 2.0 license. 9 # A copy of this license is available in LICENSE file or at 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 11 # -- END LICENSE BLOCK ------------------------------------ 12 2 13 if (!defined('DC_RC_PATH')){return;} 3 14 -
plugins/oAuthManager/inc/class.oauth.manager.php
r2917 r2949 58 58 $strReq .= "WHERE C.uid > 0 "; //always true huhu 59 59 60 if (!$this->core->auth->isSuperAdmin()) 61 { 62 $strReq .= "AND blog_id = '".$this->blog."' "; 63 } 60 $strReq .= $this->blog(); 64 61 65 62 if (!empty($params['sql'])) -
plugins/oAuthManager/inc/lib.oauth.client.1.0.php
r2917 r2949 79 79 80 80 # storage 81 $this->store = new oAuthClient 10Store($core);81 $this->store = new oAuthClientStore($core); 82 82 83 83 # load start values -
plugins/oAuthManager/release.txt
r2917 r2949 1 0.2-alpha2 20110218 2 * Added oAuth 2.0 draft 10 support (first step) 3 * Moved storage to the same class oAuthClientStore for oAuth 1 et 2 4 1 5 0.1 20110130 2 6 * First public release
Note: See TracChangeset
for help on using the changeset viewer.