diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-30 08:57:03 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-02 07:34:01 -0700 |
commit | 26813f1d37d82ad29a545df7c48fbde82228b80d (patch) | |
tree | db37c57df2afb770593b22b142fc85bd1e672053 /src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs | |
parent | 1b9d589c7ed1cf7648ee7abc9150def40d6274b3 (diff) | |
download | DotNetOpenAuth-26813f1d37d82ad29a545df7c48fbde82228b80d.zip DotNetOpenAuth-26813f1d37d82ad29a545df7c48fbde82228b80d.tar.gz DotNetOpenAuth-26813f1d37d82ad29a545df7c48fbde82228b80d.tar.bz2 |
Public API work.
Diffstat (limited to 'src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs b/src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs index 6bddaf8..4e9ce0f 100644 --- a/src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs +++ b/src/DotNetOAuth.Test/Scenarios/CoordinatingOAuthChannel.cs @@ -59,6 +59,10 @@ namespace DotNetOAuth.Test.Scenarios { this.RemoteChannel.incomingMessageSignal.Set();
}
+ protected internal override HttpRequestInfo GetRequestFromContext() {
+ return new HttpRequestInfo(this.AwaitIncomingMessage());
+ }
+
protected override IProtocolMessage RequestInternal(IDirectedProtocolMessage request) {
HttpRequestInfo requestInfo = this.SpoofHttpMethod(request);
TestBase.TestLogger.InfoFormat("Sending request: {0}", requestInfo.Message);
@@ -83,10 +87,6 @@ namespace DotNetOAuth.Test.Scenarios { return this.SendDirectMessageResponse(message);
}
- protected override HttpRequestInfo GetRequestFromContext() {
- return new HttpRequestInfo(this.AwaitIncomingMessage());
- }
-
protected override IProtocolMessage ReadFromRequestInternal(HttpRequestInfo request) {
return request.Message;
}
|