Skip to content

Commit 7c7676e

Browse files
committed
Merge remote-tracking branch 'leonardoeloy/master'
2 parents 436a90a + e66f846 commit 7c7676e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

RestSharp/Authenticators/OAuth/OAuthTools.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,12 @@ public static string GetSignature(OAuthSignatureMethod signatureMethod,
315315

316316
break;
317317
}
318+
case OAuthSignatureMethod.PlainText:
319+
{
320+
signature = "{0}&{1}".FormatWith(consumerSecret, tokenSecret);
321+
322+
break;
323+
}
318324
default:
319325
throw new NotImplementedException("Only HMAC-SHA1 is currently supported.");
320326
}

0 commit comments

Comments
 (0)