7 references to AddJwtBearer
Microsoft.AspNetCore.Authentication.JwtBearer (3)
JwtBearerExtensions.cs (3)
25
=> builder.
AddJwtBearer
(JwtBearerDefaults.AuthenticationScheme, _ => { });
37
=> builder.
AddJwtBearer
(authenticationScheme, _ => { });
49
=> builder.
AddJwtBearer
(JwtBearerDefaults.AuthenticationScheme, configureOptions);
Microsoft.AspNetCore.Authentication.Test (4)
JwtBearerTests.cs (2)
901
.
AddJwtBearer
("JwtAuthSchemaOne", o => { o.Events = jwtBearerEvents; o.UseSecurityTokenValidators = true; })
902
.
AddJwtBearer
("JwtAuthSchemaTwo", o => { o.Events = jwtBearerEvents; o.UseSecurityTokenValidators = true; });
JwtBearerTests_Handler.cs (2)
846
.
AddJwtBearer
("JwtAuthSchemaOne", o => { o.Events = jwtBearerEvents; })
847
.
AddJwtBearer
("JwtAuthSchemaTwo", o => { o.Events = jwtBearerEvents; });