We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21096ed commit 6a6a632Copy full SHA for 6a6a632
aspnetcore/security/authentication/certauth.md
@@ -183,7 +183,7 @@ services.AddAuthentication(
183
{
184
var validationService =
185
context.HttpContext.RequestServices
186
- .GetService<ICertificateValidationService>();
+ .GetRequiredService<ICertificateValidationService>();
187
188
if (validationService.ValidateCertificate(
189
context.ClientCertificate))
0 commit comments