1
//-----------------------------------------------------------------------
2 // <copyright file="Configuration.cs" company="Andrew Arnott">
3 // Copyright (c) Andrew Arnott. All rights reserved.
5 //-----------------------------------------------------------------------
7 namespace DotNetOpenAuth
.OpenId
{
9 using System
.Collections
.Generic
;
14 /// A set of adjustable properties that control various aspects of OpenID behavior.
16 internal static class Configuration
{
18 /// Initializes static members of the <see cref="Configuration"/> class.
20 static Configuration() {
21 MaximumUserAgentAuthenticationTime
= TimeSpan
.FromMinutes(5);
25 /// Gets the maximum time a user can be allowed to take to complete authentication.
28 /// This is used to calculate the length of time that nonces are stored.
29 /// This is internal until we can decide whether to leave this static, or make
30 /// it an instance member, or put it inside the IConsumerApplicationStore interface.
32 internal static TimeSpan MaximumUserAgentAuthenticationTime { get; private set; }