5 writes to MaxAge
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectConfigureOptions.cs (1)
61options.MaxAge = StringHelpers.ParseValueOrDefault(configSection[nameof(options.MaxAge)], _invariantNullableTimeSpanParse, options.MaxAge);
Microsoft.AspNetCore.Authentication.Test (4)
OpenIdConnect\OpenIdConnectChallengeTests.cs (3)
500opt.MaxAge = TimeSpan.FromMinutes(20); 635opt.MaxAge = TimeSpan.FromSeconds(500); 659opt.MaxAge = TimeSpan.FromSeconds(500);
OpenIdConnect\OpenIdConnectConfigurationTests.cs (1)
548o.MaxAge = TimeSpan.FromSeconds(-1);
9 references to MaxAge
Microsoft.AspNetCore.Authentication.OpenIdConnect (7)
OpenIdConnectConfigureOptions.cs (2)
61options.MaxAge = StringHelpers.ParseValueOrDefault(configSection[nameof(options.MaxAge)], _invariantNullableTimeSpanParse, options.MaxAge);
OpenIdConnectHandler.cs (1)
429var maxAge = properties.GetParameter<TimeSpan?>(OpenIdConnectParameterNames.MaxAge) ?? Options.MaxAge;
OpenIdConnectOptions.cs (4)
95if (MaxAge.HasValue && MaxAge.Value < TimeSpan.Zero) 97throw new ArgumentOutOfRangeException(nameof(MaxAge), MaxAge.Value, "The value must not be a negative TimeSpan.");
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\TestSettings.cs (2)
271if (_options.MaxAge.HasValue) 273Assert.Equal(TimeSpan.FromMinutes(20), _options.MaxAge.Value);