Skip to content

Instantly share code, notes, and snippets.

@trailmax
trailmax / MySecurityStampValidator.cs
Last active July 29, 2021 18:51
SecurityStampValidator from Microsoft.AspNet.Identity.Owin - taken from decompiler
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Owin.Security.Cookies;
namespace Microsoft.AspNet.Identity.Owin
{
/// <summary>
/// Static helper class used to configure a CookieAuthenticationProvider to validate a cookie against a user's security
/// stamp