summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-02 15:43:33 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-02 15:43:33 -0400
commit1f8e18d97baa4721ca8d2a7990196525835b251f (patch)
treeeadd8db507cfc55f90f448caedcf0a98df110b61 /lib
parent1de5328c49e8c438106bf5ad8319ef1c08a96a28 (diff)
add the hmac sha1 signature method to server
darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/omb.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php
index e9108e3e7..481aa6c02 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -53,6 +53,7 @@ function omb_oauth_server() {
static $server = null;
if (!$server) {
$server = new OAuthServer(new LaconicaOAuthDataStore());
+ $server->add_signature_method(omb_hmac_sha1());
}
return $server;
}