diff --git a/aspnet/security/authentication/cookieauthentication.rst b/aspnet/security/authentication/cookieauthentication.rst index 872ff9ac77..366d294fb9 100644 --- a/aspnet/security/authentication/cookieauthentication.rst +++ b/aspnet/security/authentication/cookieauthentication.rst @@ -42,7 +42,7 @@ To create a cookie holding your user information you must construct a `ClaimsPri .. code-block:: c# - await HttpContext.Authentication.SignInAsync("MyCookieMiddlewareInstrance", principal); + await HttpContext.Authentication.SignInAsync("MyCookieMiddlewareInstance", principal); This will create an encrypted cookie and add it to the current response. The ``AuthenticationScheme`` specified during :ref:`configuration ` must also be used when calling ``SignInAsync``.