39 references to GetTokenValue
Microsoft.AspNetCore.Authentication.Abstractions (2)
Microsoft.AspNetCore.Authentication.Core.Test (15)
TokenExtensionTests.cs (15)
25Assert.Equal("1", props.GetTokenValue("One"));
26Assert.Equal("2", props.GetTokenValue("Two"));
27Assert.Equal("3", props.GetTokenValue("Three"));
47Assert.Equal("0", props.GetTokenValue("Zero"));
48Assert.Null(props.GetTokenValue("One"));
49Assert.Null(props.GetTokenValue("Two"));
50Assert.Null(props.GetTokenValue("Three"));
72Assert.Equal(".1", props.GetTokenValue("One"));
73Assert.Equal(".2", props.GetTokenValue("Two"));
74Assert.Equal(".3", props.GetTokenValue("Three"));
95Assert.Equal(".11", props.GetTokenValue("One"));
96Assert.Equal(".22", props.GetTokenValue("Two"));
97Assert.Equal(".33", props.GetTokenValue("Three"));
117Assert.Null(props.GetTokenValue("ONE"));
118Assert.Null(props.GetTokenValue("Jigglypuff"));
Microsoft.AspNetCore.Authentication.Test (15)
TokenExtensionTests.cs (15)
21Assert.Equal("1", props.GetTokenValue("One"));
22Assert.Equal("2", props.GetTokenValue("Two"));
23Assert.Equal("3", props.GetTokenValue("Three"));
43Assert.Equal("0", props.GetTokenValue("Zero"));
44Assert.Null(props.GetTokenValue("One"));
45Assert.Null(props.GetTokenValue("Two"));
46Assert.Null(props.GetTokenValue("Three"));
68Assert.Equal(".1", props.GetTokenValue("One"));
69Assert.Equal(".2", props.GetTokenValue("Two"));
70Assert.Equal(".3", props.GetTokenValue("Three"));
91Assert.Equal(".11", props.GetTokenValue("One"));
92Assert.Equal(".22", props.GetTokenValue("Two"));
93Assert.Equal(".33", props.GetTokenValue("Three"));
113Assert.Null(props.GetTokenValue("ONE"));
114Assert.Null(props.GetTokenValue("Jigglypuff"));
OpenIdConnectSample (1)
SocialSample (6)