From 86a8440fbf6ee8ccdf6106adc3223905b7038f0b Mon Sep 17 00:00:00 2001 From: danroth27 Date: Mon, 14 Dec 2015 21:22:31 -0800 Subject: [PATCH] Fix typo --- aspnet/security/authentication/cookieauthentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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``.