Commit Graph

25 Commits

Author SHA1 Message Date
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Claudio Sanches c00239fbef Fixed visual endpoint callback content-type #8021 2015-08-17 19:19:08 -03:00
Brent Shepherd 1681b0f9d5 Add permissions in scope filter
To allow extensions to display the permissions API keys will provide
for their objects, in addition to the permissions for core WC objects.
2015-08-07 11:19:21 -07:00
Brent Shepherd 19a91e3afc Fix truncated_key value inserted on visual auth
When inserting a new set of API keys via the visual API endpoint, only 5 format
values were specified in the 3rd param passed to the $wpdb->insert(); however,
6 values were specified in the 2nd param. This meant that the truncted_key value
was being formatted as an integer only the first numerical characters of the last
7 character of the consumer key were being stored. For example, given a consumer
key value of ck_e91f2aeae6c3dea3045293a3dbdf55c317ad762c the truncated_key value
should be 7ad762c but instead, it was being stored at 7.
2015-08-06 17:40:17 -07:00
Claudio Sanches e0be5a2e9f Added truncated consumer key and last access fields in woocommerce_api_keys table 2015-07-16 15:42:00 -03:00
Claudio Sanches 91bb8c7ba9 Updated the api authentication 2015-06-08 19:58:38 -03:00
Claudio Sanches 3f45c874fe Created wc_api_hash() 2015-06-08 12:57:19 -03:00
Claudio Sanches 3697ad9de2 Improved the API keys entropy 2015-06-08 12:01:54 -03:00
Claudio Sanches 95535ea47d Removed sslverify=false and used wp_safe_remote_post() in WC_Auth 2015-05-20 14:24:44 -03:00
Claudio Sanches db87add809 Updated the auth endpoint to works with the new woocommerce_api_keys database 2015-05-18 16:46:52 -03:00
Mike Jolley d53f78ed56 Styled auth and login endpoints 2015-05-14 16:58:34 +01:00
Claudio Sanches e7d6cf22d0 Fixed the auth validation 2015-04-23 17:51:49 -03:00
Claudio Sanches 75ee806a00 Created WC_Auth::auth_endpoint() method 2015-04-23 17:48:56 -03:00
Claudio Sanches e79dfec3b0 Improved the auth urls validation 2015-04-23 17:45:38 -03:00
Claudio Sanches d0d3aae8c1 Improved the WC_Auth::make_validation() method 2015-04-23 17:43:38 -03:00
Claudio Sanches 5d90975392 Allow versions in the URL 2015-04-23 16:58:15 -03:00
Claudio Sanches a1a929757b Improved the wc-auth/authorize endpoint 2015-04-23 16:46:28 -03:00
Claudio Sanches 3df93e7004 Created final authentication flow 2015-04-23 16:37:59 -03:00
Claudio Sanches eb3366dc08 Added callback_url and create validation method 2015-04-22 18:12:40 -03:00
Claudio Sanches c972c0029d Created authentication flow 2015-04-22 17:48:39 -03:00
Claudio Sanches a6afac4516 Added content to grant access template 2015-04-22 17:21:42 -03:00
Claudio Sanches 8cfa3eed75 Added validation for the auth params 2015-04-22 17:02:15 -03:00
Claudio Sanches a989184135 Created initial auth templates 2015-04-22 12:27:12 -03:00
Claudio Sanches db23f5faa0 Create initial WC_Auth class and endpoint 2015-04-17 17:41:25 -03:00