7 references to UserstatePropertiesKey
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectHandler.cs (3)
265
properties.Items[OpenIdConnectDefaults.
UserstatePropertiesKey
] = message.State;
474
properties.Items[OpenIdConnectDefaults.
UserstatePropertiesKey
] = message.State;
962
properties.Items.TryGetValue(OpenIdConnectDefaults.
UserstatePropertiesKey
, out var userstate);
Microsoft.AspNetCore.Authentication.Test (4)
OpenIdConnect\OpenIdConnectChallengeTests.cs (4)
191
properties.Items.Add(OpenIdConnectDefaults.
UserstatePropertiesKey
, userState);
204
Assert.Equal(userState ?? string.Empty, actualProperties.Items[OpenIdConnectDefaults.
UserstatePropertiesKey
]);
241
Assert.Equal(userState, actualProperties.Items[OpenIdConnectDefaults.
UserstatePropertiesKey
]);
245
Assert.False(actualProperties.Items.ContainsKey(OpenIdConnectDefaults.
UserstatePropertiesKey
));