Sign in
apache
/
couchdb
/
5e796919b3c1f57444febb9bd2168b70e5f38818
/
.
/
src
/
erlang-oauth
/
oauth_plaintext.erl
blob: d8085e02d35664f1f1d34a8f54e6f7abb663ddc4 [
file
] [
log
] [
blame
]
-module
(oauth_plaintext)
.
-export
([signature/
2
,
verify/
3
])
.
signature(
CS
,
TS
) ->
oauth_uri:calate(
"&"
,
[
CS
,
TS
])
.
verify(
Signature
,
CS
,
TS
) ->
Signature
=:= signature(
CS
,
TS
)
.