Managing HMAC Signature and Token-based authentication on the client side is made easier by using our prebuilt client libraries, available from our OCLC Developer Network Github Repository.
These libraries support authentication for both WorldCat and WorldShare APIs:
|PHP||OCLC PHP Auth Library
git clone https://github.com/OCLC-Developer-Network/oclc-auth-php.git
|Ruby||OCLC Auth Gem
git clone https://github.com/OCLC-Developer-Network/oclc-auth-ruby.git
|Python||OCLC Python Auth Library
git clone https://github.com/OCLC-Developer-Network/oclc-auth-python.git
These are mobile example apps that perform user agent flow access tokens for secure access to the WMS family of APIs.
- Demonstrates Authentication and retrieves an Access Token
- Utilizes a WebView to handle the http aspects of user authentication
- Written in Android Java (for the Dalvik Virtual Machine)
|iOS||OCLC Mobile Authentication iOS App Example
git clone https://github.com/OCLC-Developer-Network/oclc-auth-ios-example.git
|Android||OCLC Mobile Authentication Android App Example
git clone https://github.com/OCLC-Developer-Network/oclc-auth-android-example.git