summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-21 07:07:13 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-21 07:07:13 -0700
commit579703ee02408e7d3cdd604aa263e95a6f1e49c3 (patch)
tree902569579db8c71de10bed7e2797ae8e5a735060 /src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
parentb53f5530fe1adbd5dccd6ff2743e8e2ba512eba2 (diff)
downloadDotNetOpenAuth-579703ee02408e7d3cdd604aa263e95a6f1e49c3.zip
DotNetOpenAuth-579703ee02408e7d3cdd604aa263e95a6f1e49c3.tar.gz
DotNetOpenAuth-579703ee02408e7d3cdd604aa263e95a6f1e49c3.tar.bz2
Moves the rest of the static methods out.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs b/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
index 88e461c..2d58b1d 100644
--- a/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
+++ b/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
@@ -67,23 +67,23 @@ namespace DotNetOpenAuth.Test.OAuth {
}
}
},
- CoordinatorBase.Handle(serviceDescription.TemporaryCredentialsRequestEndpoint).By(
+ Handle(serviceDescription.TemporaryCredentialsRequestEndpoint).By(
async (request, ct) => {
var requestTokenMessage = await sp.ReadTokenRequestAsync(request, ct);
return await sp.Channel.PrepareResponseAsync(sp.PrepareUnauthorizedTokenMessage(requestTokenMessage));
}),
- CoordinatorBase.Handle(serviceDescription.ResourceOwnerAuthorizationEndpoint).By(
+ Handle(serviceDescription.ResourceOwnerAuthorizationEndpoint).By(
async (request, ct) => {
var authRequest = await sp.ReadAuthorizationRequestAsync(request, ct);
((InMemoryTokenManager)sp.TokenManager).AuthorizeRequestToken(authRequest.RequestToken);
return await sp.Channel.PrepareResponseAsync(sp.PrepareAuthorizationResponse(authRequest));
}),
- CoordinatorBase.Handle(serviceDescription.TokenRequestEndpoint).By(
+ Handle(serviceDescription.TokenRequestEndpoint).By(
async (request, ct) => {
var accessRequest = await sp.ReadAccessTokenRequestAsync(request, ct);
return await sp.Channel.PrepareResponseAsync(sp.PrepareAccessTokenMessage(accessRequest), ct);
}),
- CoordinatorBase.Handle(accessPhotoEndpoint).By(
+ Handle(accessPhotoEndpoint).By(
async (request, ct) => {
string accessToken = (await sp.ReadProtectedResourceAuthorizationAsync(request)).AccessToken;
Assert.That(accessToken, Is.Not.Null.And.Not.Empty);