This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring Slideshare Operations

To use the Slideshare ESB connector, add the  <slideshare.init>  element in your configuration before carrying out any other  Slideshare operations.

Authentication

Slideshare API has no specific authentication method. Who have the slideshare account they are considered as an authenticated user. You have to add the following parameters when authorization is required .

  • username: username of the account .
  • password: password of the account .

All requested must have following parameters.

  • apiKey : API key different for every user provided by Slideshare API.

  • ts: Set this to current time in Unix TimeStamp format, to the nearest second.
  • hash:Set this to the SHA1 hash of the concatenation of the shared secret and the timestamp(ts).

   For more information on authentication, see http://www.slideshare.net/developers/documentation

init
<slideshare.init>
    <apiKey>{$ctx:apiKey}</apiKey>
    <sha1Key>{$ctx:sha1Key}</sha1Key>
    <username>{$ctx:username}</username>
    <password>{$ctx:password}</password>
</slideshare.init>
Properties
  • apiKey: apiKey given by slideshare account.
  • sha1Key: sha1Key given by slideshare account.
  • username: username.
  • password: password.

Configuring the operations

Now that you have connected to Slideshare, use the information in the following topics to perform various operations with the connector.