6 references to CookieNoncePrefix
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectOptions.cs (2)
80
Name = OpenIdConnectDefaults.
CookieNoncePrefix
,
318
/// The value of <see cref="CookieBuilder.Name"/> is treated as the prefix to the cookie name, and defaults to <see cref="OpenIdConnectDefaults.
CookieNoncePrefix
"/>.
Microsoft.AspNetCore.Authentication.Test (4)
OpenIdConnect\OpenIdConnectChallengeTests.cs (1)
440
var nonceCookie = challengeCookies.Where(cookie => cookie.Name.StartsWith(OpenIdConnectDefaults.
CookieNoncePrefix
, StringComparison.Ordinal)).Single();
OpenIdConnect\OpenIdConnectTests.cs (3)
80
var nonce = Assert.Single(setCookie.Value, v => v.StartsWith(OpenIdConnectDefaults.
CookieNoncePrefix
, StringComparison.Ordinal));
107
var nonce = Assert.Single(setCookie.Value, v => v.StartsWith(OpenIdConnectDefaults.
CookieNoncePrefix
, StringComparison.Ordinal));
484
Assert.Equal(OpenIdConnectDefaults.
CookieNoncePrefix
, options.NonceCookie.Name);