Base:
16 references to ToString
Microsoft.AspNetCore.Authentication.Test (16)
JwtBearerTests.cs (8)
293
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
320
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
344
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
364
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
385
response.Response.Headers.WwwAuthenticate.First().
ToString
());
451
Assert.Equal(builder.ToString(), response.Response.Headers.WwwAuthenticate.First().
ToString
());
466
Assert.Equal("Bearer", response.Response.Headers.WwwAuthenticate.First().
ToString
());
478
Assert.Equal("Bearer", response.Response.Headers.WwwAuthenticate.First().
ToString
());
JwtBearerTests_Handler.cs (8)
276
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
300
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
321
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
338
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.WwwAuthenticate.First().
ToString
());
356
response.Response.Headers.WwwAuthenticate.First().
ToString
());
421
Assert.Equal(builder.ToString(), response.Response.Headers.WwwAuthenticate.First().
ToString
());
435
Assert.Equal("Bearer", response.Response.Headers.WwwAuthenticate.First().
ToString
());
447
Assert.Equal("Bearer", response.Response.Headers.WwwAuthenticate.First().
ToString
());