Fix exception message for AuthenticationScheme (#960)
This commit is contained in:
parent
e2dcbea4ec
commit
f287c46bad
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue