Have tried to set the Expiry time for the Email conformation link which is sending after user registration, the link token should expire after 10 mins. have used the code but even after 10 mins user can still access the link, here is my code,
var userManager = GetUserManager();
userManager.UserTokenProvider = new DataProtectorTokenProvider<User,int(dataProtectionProvider.Create("ConfirmEmail"))
{
TokenLifespan = TimeSpan.FromMinutes(10)
};