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