Changeset 2179651
- Timestamp:
- 10/24/2019 09:53:43 PM (6 years ago)
- Location:
- here-mobility/trunk
- Files:
-
- 2 edited
-
heremobility.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
here-mobility/trunk/heremobility.php
r2177392 r2179651 8 8 The Web Widget supports pickup location, destination, and required departure time, in addition, your users can also customize their ride according to any special requirements they have from suitcases to number of passengers. 9 9 The HERE Mobility Web Widget connects to the Mobility Marketplace to find the most relevant rides matching your users' requests and displays them to your users to choose from and book. To activate your Web Widget, please create an account(https://developer.mobility.here.com/signup) and request your app credentials. 10 * Version: 1.0.1 710 * Version: 1.0.18 11 11 * Author: HERE Mobility 12 12 * Author URI: https://mobility.here.com/ … … 17 17 class HereMobility 18 18 { 19 const PLUGIN_VERSION = '1.0.1 7';19 const PLUGIN_VERSION = '1.0.18'; 20 20 const SHORTCODE_WIDGET_TAG = 'here_panel'; 21 21 const SHORTCODE_LINK_TAG = 'here_link'; … … 379 379 function get_auth_data($appKey, $appSecret, $user) 380 380 { 381 $ expiration = time() + 60 * 60;381 $timeNow = time(); 382 382 383 383 $hash = hash_hmac( 384 'sha 256',384 'sha384', 385 385 implode( 386 386 '.', 387 387 array( 388 388 base64_encode($appKey), 389 base64_encode($user), 390 $expiration 389 $timeNow 391 390 ) 392 391 ), … … 395 394 396 395 return array( 397 'app lication_key' => $appKey,396 'app_id' => $appKey, 398 397 'user_id' => $user, 399 ' expiration' => $expiration,400 'h ash' => $hash398 'request_timestamp' => $timeNow, 399 'hmac' => $hash 401 400 ); 402 401 } -
here-mobility/trunk/readme.txt
r2177392 r2179651 6 6 Requires at least: 4.0 7 7 Tested up to: 5.0.8 8 Stable tag: 1.0.1 78 Stable tag: 1.0.18 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 84 84 == Changelog == 85 85 86 = 1.0.18 = 87 * Switched to a newer (and more secure) auth API 88 86 89 = 1.0.17 = 87 90 * Fixed an issue with settings popup in classic editor
Note: See TracChangeset
for help on using the changeset viewer.