Specifies OAuth 1.0 specific details of the API used by the component. For more details about Authenticating with OAuth 1.0 please read the OAuth 1.0 specification .

Property Name Type Required Description
consumer_key string Yes The Consumer Key.
consumer_secret string Yes The Consumer Secret.
request_token_uri string Yes URI to obtain a Request Token.
auth_uri string Yes URI to obtain User Authorization.
access_token_uri string Yes URI to obtain an Access Token.

Any object implementation is directly connected with one or several View Class definitions, therefore it is advisable to check them as well.


OAuth token and secret are available in component code as cfg.oauth and look like this:

  oauth_token: 'token',
  oauth_token_secret: 'secret',
  // other service provider specific properties

The name of property in cfg object depends on the name of property in credentials.fields. Here we present the same example of Twitter authentication:

"credentials" : {
         "label":"Twitter Account",
         "required" : true