ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
OAuthConsumer.php
Go to the documentation of this file.
1<?php
2
4
13
14 public $key;
15 public $secret;
16
17 function __construct($key, $secret, $callback_url=NULL) {
18 $this->key = $key;
19 $this->secret = $secret;
20 $this->callback_url = $callback_url;
21 }
22
23 function __toString() {
24 return "OAuthConsumer[key=$this->key,secret=$this->secret]";
25 }
26
27}
An exception for terminatinating execution or to throw for unit testing.
Class to represent an OAuth Consumer.
__construct($key, $secret, $callback_url=NULL)