Sign in
apache
/
couchdb
/
84f6c4964f49882894eaa0b9a77d34044afc06b7
/
.
/
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
)
.