[wp-trac] [WordPress Trac] #26706: Allow custom authentication handlers for all requests
WordPress Trac
noreply at wordpress.org
Sun Dec 22 14:08:33 UTC 2013
#26706: Allow custom authentication handlers for all requests
-------------------------+------------------------------
Reporter: rmccue | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by rmccue):
Replying to [comment:1 SergeyBiryukov]:
> Related: #19821
Similar, but custom auth handlers are probably still working in a browser
environment. This is more for non-browser environments than anything else.
Not a big problem right now, but adding more APIs will make it one. The
XMLRPC API calls `wp_authenticate` on each API call, but the JSON API has
a [https://github.com/WP-API/WP-API/blob/master/lib/class-wp-json-
server.php#L99 custom filter] for this purpose.
Unifying this across the whole of WP would be a bit nicer. :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26706#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list