summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-02-16 20:15:06 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-02-16 20:15:06 -0800
commitfcee7171b683db63aafac3c7351b22a849d06db4 (patch)
tree69e98c2be1e4fb8d8496010ee6e45e5d19ac0a36 /src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs
parent04426dfbba325fd4ed308a6c9c6c103fed14ff13 (diff)
downloadDotNetOpenAuth-fcee7171b683db63aafac3c7351b22a849d06db4.zip
DotNetOpenAuth-fcee7171b683db63aafac3c7351b22a849d06db4.tar.gz
DotNetOpenAuth-fcee7171b683db63aafac3c7351b22a849d06db4.tar.bz2
Lots of stylecop fixes.
Diffstat (limited to 'src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs')
-rw-r--r--src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs
index 7d66ff8..6e67f53 100644
--- a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs
+++ b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/AuthenticationRequest.cs
@@ -220,7 +220,7 @@ namespace DotNetOpenAuth.OpenId.Provider {
/// <returns>The response message.</returns>
protected override async Task<IProtocolMessage> GetResponseMessageAsync(CancellationToken cancellationToken) {
if (this.IsAuthenticated.HasValue) {
- return this.IsAuthenticated.Value ? (IProtocolMessage)this.positiveResponse : (await this.GetNegativeResponseAsync());
+ return this.IsAuthenticated.Value ? (IProtocolMessage)this.positiveResponse : await this.GetNegativeResponseAsync();
} else {
return null;
}