1 write to Items
Microsoft.AspNetCore.Authentication.Abstractions (1)
184 references to Items
CookieSample (1)
Identity.DefaultUI.WebSite (1)
Microsoft.AspNetCore.Authentication (7)
Microsoft.AspNetCore.Authentication.Abstractions (24)
Microsoft.AspNetCore.Authentication.Cookies (2)
Microsoft.AspNetCore.Authentication.Core.Test (62)
AuthenticationPropertiesTests.cs (54)
24Assert.Same(items, props.Items);
27Assert.NotSame(props.Items, copy.Items);
30Assert.Equal(props.Items, copy.Items);
32props.Items["change"] = "good";
34Assert.NotEqual(props.Items, copy.Items);
42Assert.Empty(props.Items);
54Assert.Same(items, props.Items);
71Assert.Same(items, props.Items);
80Assert.Empty(props.Items);
84Assert.Equal("foo bar", props.Items["foo"]);
85Assert.Single(props.Items);
89Assert.Equal("foo baz", props.Items["foo"]);
90Assert.Single(props.Items);
94Assert.Equal("xy", props.Items["bar"]);
95Assert.Equal(2, props.Items.Count);
99Assert.Equal(string.Empty, props.Items["bar"]);
103Assert.Single(props.Items);
106Assert.False(props.Items.ContainsKey("doesntexist"));
107Assert.Single(props.Items);
173Assert.Equal(string.Empty, props.Items.First().Value);
175props.Items.Clear();
187Assert.Equal("http://example.com", props.Items.First().Value);
189props.Items.Clear();
201Assert.Equal("Wed, 21 Mar 2018 00:00:00 GMT", props.Items.First().Value);
203props.Items.Clear();
215Assert.Equal("Mon, 19 Mar 2018 12:34:56 GMT", props.Items.First().Value);
217props.Items.Clear();
229Assert.Equal("True", props.Items.First().Value);
233Assert.Equal("False", props.Items.First().Value);
235props.Items.Clear();
245Assert.Equal("Mon, 19 Mar 2018 12:34:56 GMT", props.Items["foo"]);
248Assert.False(props.Items.ContainsKey("foo"));
251Assert.False(props.Items.ContainsKey("doesnotexist"));
260props.Items["foo"] = dateTimeOffset.ToString("r", CultureInfo.InvariantCulture);
263props.Items.Remove("foo");
266props.Items["foo"] = "BAR";
268Assert.Equal("BAR", props.Items["foo"]);
277Assert.Equal(true.ToString(), props.Items["foo"]);
280Assert.Equal(false.ToString(), props.Items["foo"]);
283Assert.False(props.Items.ContainsKey("foo"));
291props.Items["foo"] = true.ToString();
294props.Items["foo"] = false.ToString();
297props.Items["foo"] = null;
300props.Items["foo"] = "BAR";
302Assert.Equal("BAR", props.Items["foo"]);
317props.Items.Add("foo", "bar");
338Assert.NotNull(deserialized.Items);
339Assert.True(deserialized.Items.ContainsKey("foo"));
340Assert.Equal(props.Items["foo"], deserialized.Items["foo"]);
373props.Items.Add("foo", "bar");
Microsoft.AspNetCore.Authentication.Google (2)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (3)
Microsoft.AspNetCore.Authentication.OAuth (3)
Microsoft.AspNetCore.Authentication.OpenIdConnect (11)
Microsoft.AspNetCore.Authentication.Test (55)
GoogleTests.cs (28)
200Assert.DoesNotContain("scope", stateProperties.Items.Keys);
201Assert.DoesNotContain("access_type", stateProperties.Items.Keys);
202Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys);
203Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys);
204Assert.DoesNotContain("prompt", stateProperties.Items.Keys);
205Assert.DoesNotContain("login_hint", stateProperties.Items.Keys);
252Assert.DoesNotContain("scope", stateProperties.Items.Keys);
253Assert.DoesNotContain("access_type", stateProperties.Items.Keys);
254Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys);
255Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys);
256Assert.DoesNotContain("prompt", stateProperties.Items.Keys);
257Assert.DoesNotContain("login_hint", stateProperties.Items.Keys);
308Assert.DoesNotContain("scope", stateProperties.Items.Keys);
309Assert.DoesNotContain("access_type", stateProperties.Items.Keys);
310Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys);
311Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys);
312Assert.DoesNotContain("prompt", stateProperties.Items.Keys);
313Assert.DoesNotContain("login_hint", stateProperties.Items.Keys);
551properties.Items.Add(correlationKey, correlationValue);
617properties.Items.Add(correlationKey, correlationValue);
670properties.Items.Add(correlationKey, correlationValue);
714properties.Items.Add(correlationKey, correlationValue);
755properties.Items.Add(correlationKey, correlationValue);
799properties.Items.Add(correlationKey, correlationValue);
875properties.Items.Add(correlationKey, correlationValue);
919properties.Items.Add(correlationKey, correlationValue);
963properties.Items.Add(correlationKey, correlationValue);
1000properties.Items.Add(correlationKey, correlationValue);
Microsoft.AspNetCore.Authentication.WsFederation (3)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Identity.Test (5)
SocialSample (1)