summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.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/OpenId/AuthenticationTests.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/OpenId/AuthenticationTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs b/src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs
index cb12e77..93f74e6 100644
--- a/src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs
@@ -77,13 +77,13 @@ namespace DotNetOpenAuth.Test.OpenId {
}
}
},
- CoordinatorBase.Handle(RPRealmUri).By(async (hostFactories, req, ct) => {
+ Handle(RPRealmUri).By(async (hostFactories, req, ct) => {
var rp = new OpenIdRelyingParty(new StandardRelyingPartyApplicationStore(), hostFactories);
IAuthenticationResponse response = await rp.GetResponseAsync();
Assert.AreEqual(AuthenticationStatus.Authenticated, response.Status);
return new HttpResponseMessage();
}),
- CoordinatorBase.Handle(OPUri).By(
+ Handle(OPUri).By(
async (req, ct) => {
var op = new OpenIdProvider(opStore);
return await this.AutoProviderActionAsync(op, req, ct);
@@ -106,14 +106,14 @@ namespace DotNetOpenAuth.Test.OpenId {
}
}
},
- CoordinatorBase.Handle(RPRealmUri).By(async (hostFactories, req, ct) => {
+ Handle(RPRealmUri).By(async (hostFactories, req, ct) => {
var rp = new OpenIdRelyingParty(new StandardRelyingPartyApplicationStore(), hostFactories);
rp.SecuritySettings.RejectUnsolicitedAssertions = true;
IAuthenticationResponse response = await rp.GetResponseAsync(req, ct);
Assert.AreEqual(AuthenticationStatus.Failed, response.Status);
return new HttpResponseMessage();
}),
- CoordinatorBase.Handle(OPUri).By(async (hostFactories, req, ct) => {
+ Handle(OPUri).By(async (hostFactories, req, ct) => {
var op = new OpenIdProvider(opStore);
return await this.AutoProviderActionAsync(op, req, ct);
}),
@@ -139,14 +139,14 @@ namespace DotNetOpenAuth.Test.OpenId {
}
}
},
- CoordinatorBase.Handle(RPRealmUri).By(async (hostFactories, req, ct) => {
+ Handle(RPRealmUri).By(async (hostFactories, req, ct) => {
var rp = new OpenIdRelyingParty(new StandardRelyingPartyApplicationStore(), hostFactories);
rp.SecuritySettings.RejectDelegatingIdentifiers = true;
IAuthenticationResponse response = await rp.GetResponseAsync(req, ct);
Assert.AreEqual(AuthenticationStatus.Failed, response.Status);
return new HttpResponseMessage();
}),
- CoordinatorBase.Handle(OPUri).By(async (hostFactories, req, ct) => {
+ Handle(OPUri).By(async (hostFactories, req, ct) => {
var op = new OpenIdProvider(opStore);
return await this.AutoProviderActionAsync(op, req, ct);
}),