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/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

To use the Stub Hub connector, add the  <stubHub.init> element in your configuration before carrying out any other operations.  The API requires authentication, which is performed as follows. The API will then return a token to authenticate its functionality.

init
<stubHub.init>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
    <appToken>{$ctx:appToken}</appToken>
    <consumerKey>{$ctx:consumerKey}</consumerKey>
    <consumerSecret>{$ctx:consumerSecret}</consumerSecret>
    <username>{$ctx:username}</username>
    <password>{$ctx:password}</password>
    <scope>{$ctx:scope}</scope>
</stubHub.init>
Properties  
  • username: The user account email.
  • appToken: The Application Token for Stub Hub app.
  • apiUrl: The base URL of the Stub Hub API.
  • password: The user account password.
  • consumerKey: The Consumer key for Stub Hub app.
  • scope: The Consumer key for Stub Hub app.

  • consumerSecret: The Consumer key for Stub Hub app.

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

  • No labels