Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Rework oauth_plaintext to use oauth_util:esprintf.
  • Loading branch information
Tim Fletcher committed Nov 6, 2008
1 parent bdf637a commit 144eef2c7bdb640d1a25f667c082ff23c6ec4809
Showing 1 changed file with 2 additions and 4 deletions.
@@ -4,7 +4,5 @@


signature(ConsumerSecret, TokenSecret) ->
encode(fmt:sprintf("%s&%s", [encode(ConsumerSecret), encode(TokenSecret)])).

encode(String) ->
fmt:percent_encode(String).
Encoded = oauth_util:esprintf("%s&%s", [ConsumerSecret, TokenSecret]),
fmt:percent_encode(Encoded).

0 comments on commit 144eef2

Please sign in to comment.