summaryrefslogtreecommitdiff
path: root/src/erlang-oauth/oauth_plaintext.erl
blob: 41a1e9b25ed41198f9fa02efc09cf39cc94f6736 (plain)
1
2
3
4
5
6
7
8
9
10
-module(oauth_plaintext).

-export([signature/2, verify/3]).


signature(CS, TS) ->
  oauth_uri:calate("&", [CS, TS]).

verify(Signature, CS, TS) ->
  couch_util:verify(signature(CS, TS), Signature).