You are here

OAuthConsumer.php in jQuery social stream 8

Same filename and directory in other branches
  1. 8.2 src/Twitter/OAuthConsumer.php

File

src/Twitter/OAuthConsumer.php
View source
<?php

namespace Drupal\jquery_social_stream\Twitter;

class OAuthConsumer {
  public $key;
  public $secret;
  function __construct($key, $secret, $callback_url = NULL) {
    $this->key = $key;
    $this->secret = $secret;
    $this->callback_url = $callback_url;
  }
  function __toString() {
    return "OAuthConsumer[key={$this->key},secret={$this->secret}]";
  }

}

Classes

Namesort descending Description
OAuthConsumer