Fix exception message for AuthenticationScheme (#960)

This commit is contained in:
azechi 2017-11-07 11:38:01 +09:00 committed by Justin Kotalik
parent e2dcbea4ec
commit f287c46bad
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Authentication
} }
if (!typeof(IAuthenticationHandler).IsAssignableFrom(handlerType)) if (!typeof(IAuthenticationHandler).IsAssignableFrom(handlerType))
{ {
throw new ArgumentException("handlerType must implement IAuthenticationSchemeHandler."); throw new ArgumentException("handlerType must implement IAuthenticationHandler.");
} }
Name = name; Name = name;