Changeset 22784
- Timestamp:
- 10/05/09 08:11:41 (4 years ago)
- Files:
-
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiAuth.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiFCAuth.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiOAuth2Legged.php (modified) (2 diffs)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiOAuth3Legged.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiOAuth3Legged_10a.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiSecurityToken.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiBatch.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiCurlProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiHttpProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiIO.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiLocalHttpProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiRequest.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiRestIO.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiRpcIO.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiAlbum.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiAppDataModel.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiGroup.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiMediaItem.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiModel.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/osapi.php (modified) (2 diffs)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiFriendConnectProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiGoogleProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiHi5Provider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiMySpaceProvider.php (modified) (2 diffs)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiNetlogProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiOrkutProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiPartuzaProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiPlaxoProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiXrdsProvider.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiYahooProvider.php (added)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiActivities.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiAlbums.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiAppData.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiGroups.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiMediaItems.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiMessages.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiNotifications.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiPeople.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiService.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiStatusMood.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiSystem.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiApcStorage.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiFileStorage.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiMemcacheStorage.php (modified) (1 diff)
- plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiStorage.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiAuth.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiFCAuth.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiOAuth2Legged.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * … … 68 71 69 72 /** 73 * Sets the user ID on behalf of which this auth is making requests. 74 * @param String $userId A user ID. 75 */ 76 public function setUserId($userId) { 77 $this->userId = $userId; 78 } 79 80 /** 70 81 * Sign the request using OAuth. This uses the consumer token and key 71 82 * but 2 legged oauth doesn't require an access token and key. In situations where you want to plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiOAuth3Legged.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiOAuth3Legged_10a.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/auth/osapiSecurityToken.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiBatch.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiCurlProvider.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiHttpProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiIO.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiLocalHttpProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiRequest.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiRestIO.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/io/osapiRpcIO.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiAlbum.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiAppDataModel.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiGroup.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiMediaItem.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/model/osapiModel.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/osapi.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * … … 89 92 } 90 93 } 91 94 92 95 /** 93 96 * If set to true, osapi will raise exceptions on anything plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiFriendConnectProvider.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiGoogleProvider.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiHi5Provider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiMySpaceProvider.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * … … 39 42 */ 40 43 public function preRequestProcess(&$request, &$method, &$url, &$headers, osapiAuth &$signer) { 41 44 // Using the full myspace ID in the xoauth_requestor_id doesn't work 45 if ($signer instanceof osapiOAuth2Legged) { 46 $signer->setUserId(str_replace('myspace.com.person.', '', $signer->getUserId())); 47 } 48 42 49 if($request->method == 'appdata.update' || $request->method == 'appdata.create') { 43 50 $this->formatAppDataOut($request); plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiNetlogProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiOrkutProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiPartuzaProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiPlaxoProvider.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/providers/osapiXrdsProvider.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiActivities.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiAlbums.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiAppData.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiGroups.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiMediaItems.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiMessages.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiNotifications.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiPeople.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiService.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiStatusMood.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/service/osapiSystem.php
r22109 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiApcStorage.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiFileStorage.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiMemcacheStorage.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 * plugins/ysfOpenPlugin/trunk/lib/vendor/opensocial/storage/osapiStorage.php
r21324 r22784 1 1 <?php 2 /* 2 /** 3 * @package OpenSocial 4 * @license Apache License 5 * 3 6 * Copyright 2008 Google Inc. 4 7 *