add the hmac sha1 signature method to server

darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz
This commit is contained in:
Evan Prodromou 2008-06-02 15:43:33 -04:00
parent 1de5328c49
commit 1f8e18d97b

View File

@ -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;
}