diff options
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/OAuthServiceProvider.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/OAuthServiceProvider.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthServiceProvider.cs b/projecttemplates/RelyingPartyLogic/OAuthServiceProvider.cs index 69181f5..d5509aa 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthServiceProvider.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthServiceProvider.cs @@ -15,8 +15,13 @@ namespace RelyingPartyLogic { using DotNetOpenAuth.OAuth2.Messages; public class OAuthServiceProvider { - private const string PendingAuthorizationRequestSessionKey = "PendingAuthorizationRequest"; - + private const string PendingAuthorizationRequestSessionKey = "PendingAuthorizationRequest";
+
+ /// <summary>
+ /// The lock to synchronize initialization of the <see cref="authorizationServer"/> field.
+ /// </summary>
+ private static readonly object InitializerLock = new object();
+
/// <summary> /// The shared service description for this web site. /// </summary> @@ -28,11 +33,6 @@ namespace RelyingPartyLogic { private static AuthorizationServer authorizationServer; /// <summary> - /// The lock to synchronize initialization of the <see cref="authorizationServer"/> field. - /// </summary> - private static readonly object InitializerLock = new object(); - - /// <summary> /// Gets the service provider. /// </summary> /// <value>The service provider.</value> |