OCLC Auth Libraries Update

 

Over the course of the spring we've been busy releasing some code libraries for interacting with our web services. Specifically, we offer code libraries in several languages that help developers authenticate to our Web services.  

All of these libraries can be cloned or checked out from OCLC Developer Network repository and installed by users of OCLC Web Service Keys, or WSKeys.

I use the PHP library to perform testing and build demos. Recently I discovered a bug and needed a bit of new functionality added to the library. As a result, we're making an updated version of PHP library available. This version fixes a bug where if an Access Token was requested without a Refresh Token the code would fail. It also allows an Access Token object to be constructed using an Access Token string and expiration date.

For those of you who installed the library using Composer, getting the update is as simple as going to the directory where your application is which is using the library and running in the command line

$ composer update

For developers who might be using the zip or phar, new packages are linked to from the 1.1 release page on GitHub.

We're working really hard to try to keep these libraries up to date and useful. Please contact us if you have any questions or comments about them.

  • Karen Coombs

    Karen Coombs

    Senior Product Analyst

We are a worldwide library cooperative, owned, governed and sustained by members since 1967. Our public purpose is a statement of commitment to each other—that we will work together to improve access to the information held in libraries around the globe, and find ways to reduce costs for libraries through collaboration. Learn more »