diff --git a/src/Microsoft.AspNetCore.Authentication.Abstractions/AuthenticationScheme.cs b/src/Microsoft.AspNetCore.Authentication.Abstractions/AuthenticationScheme.cs index 7969877550..a72dc893ed 100644 --- a/src/Microsoft.AspNetCore.Authentication.Abstractions/AuthenticationScheme.cs +++ b/src/Microsoft.AspNetCore.Authentication.Abstractions/AuthenticationScheme.cs @@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Authentication } if (!typeof(IAuthenticationHandler).IsAssignableFrom(handlerType)) { - throw new ArgumentException("handlerType must implement IAuthenticationSchemeHandler."); + throw new ArgumentException("handlerType must implement IAuthenticationHandler."); } Name = name;