31 writes to UseSecurityTokenValidators
Microsoft.AspNetCore.Authentication.Test (31)
JwtBearerTests.cs (31)
75
o.
UseSecurityTokenValidators
= true;
113
o.
UseSecurityTokenValidators
= true;
193
o.
UseSecurityTokenValidators
= true;
241
o.
UseSecurityTokenValidators
= true;
253
using var host = await CreateHost(o => o.
UseSecurityTokenValidators
= true);
262
using var host = await CreateHost(o => o.
UseSecurityTokenValidators
= true);
271
using var host = await CreateHost(o => o.
UseSecurityTokenValidators
= true);
283
options.
UseSecurityTokenValidators
= true;
310
options.
UseSecurityTokenValidators
= true;
334
options.
UseSecurityTokenValidators
= true;
354
options.
UseSecurityTokenValidators
= true;
373
options.
UseSecurityTokenValidators
= true;
411
options.
UseSecurityTokenValidators
= true;
460
o.
UseSecurityTokenValidators
= true;
473
using var host = await CreateHost(o => o.
UseSecurityTokenValidators
= true);
508
options.
UseSecurityTokenValidators
= true;
534
options.
UseSecurityTokenValidators
= true;
555
options.
UseSecurityTokenValidators
= true;
589
options.
UseSecurityTokenValidators
= true;
643
options.
UseSecurityTokenValidators
= true;
678
options.
UseSecurityTokenValidators
= true;
715
options.
UseSecurityTokenValidators
= true;
750
options.
UseSecurityTokenValidators
= true;
779
o.
UseSecurityTokenValidators
= true;
802
o.
UseSecurityTokenValidators
= true;
829
o.
UseSecurityTokenValidators
= true;
857
o.
UseSecurityTokenValidators
= true;
901
.AddJwtBearer("JwtAuthSchemaOne", o => { o.Events = jwtBearerEvents; o.
UseSecurityTokenValidators
= true; })
902
.AddJwtBearer("JwtAuthSchemaTwo", o => { o.Events = jwtBearerEvents; o.
UseSecurityTokenValidators
= true; });
946
o.
UseSecurityTokenValidators
= true;
990
o.
UseSecurityTokenValidators
= true;
2 references to UseSecurityTokenValidators
Microsoft.AspNetCore.Authentication.JwtBearer (2)
JwtBearerHandler.cs (2)
101
if (!Options.
UseSecurityTokenValidators
)
196
if (!Options.
UseSecurityTokenValidators
)