Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
trunk
to match WordPress projects. Update your refs.
fetch_profile_picture
method added to Twitter service. Props @glendaviesnz.self
endpoint for Tumblr, and add helper methods to retrieve user info. Props @glendaviesnz.keyring_{service}_request_scope
filter for OAuth2 services, matching the existing filter for OAuth1 services. Props @glendaviesnz.'full_response'
param to Keyring_Service_OAuth2::request()
, which will cause the method to return the full HTTP response object. Props @glendaviesnz.PUT
requests have a Content-Length
header set. Props @glendaviesnz.is_service
check (enforced via method call signature). Props @sanmai.Note this is a re-issue of the v3.0 release to include the correct header in keyring.php
Full details;
expires
values in tokens MUST be UNIX timestamps now.screen_icon()
.In previous versions, non-Admins had access to being able to configure Services, which also meant that they could see API secrets etc. On multi-user installations, this is likely undesirable, so this version restricts access to all management interfaces to users who have manage_options (normally Administrators).
Note this is the same as v1.7.1, it just updates all the version numbers correctly.
keyring_{service}_basic_ui_save_credentials
).sentence
parameter when searching for existing tokens, to avoid WordPress doing weird word-splitting. Props @dashaluna.