pull/783/head
danroth27 2015-12-14 21:22:31 -08:00
parent 43e2d26c02
commit 86a8440fbf
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ To create a cookie holding your user information you must construct a `ClaimsPri
.. code-block:: c# .. 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 <security-authentication-cookie-middleware-configuring>` must also be used when calling ``SignInAsync``. This will create an encrypted cookie and add it to the current response. The ``AuthenticationScheme`` specified during :ref:`configuration <security-authentication-cookie-middleware-configuring>` must also be used when calling ``SignInAsync``.