]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add the hmac sha1 signature method to server
authorEvan Prodromou <evan@prodromou.name>
Mon, 2 Jun 2008 19:43:33 +0000 (15:43 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 2 Jun 2008 19:43:33 +0000 (15:43 -0400)
darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz

lib/omb.php

index e9108e3e75347722bf7ed8ac80584b760b3ef8ab..481aa6c02479437c6bb0a32a7835851edcc2320a 100644 (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;
 }