Task WriteCookieAsync( IUserIdentity user, string cookieName, string cookieValue, DateTime expiresUtc, CancellationToken cancellationToken )
Parameters
- user
- The user.
- cookieName
- Name of the cookie.
- cookieValue
- The cookie value.
- expiresUtc
- The UTC date the cookie expires.
- cancellationToken
- Optionally propagates notification that operations should be canceled.