public static string GeneratePasswordResetToken(string userName, int tokenExpirationInMinutesFromNow = 1440) { MySqlSimpleMembershipProvider provider = VerifyProvider(); Debug.Assert(provider != null); // VerifyProvider checks this return(provider.GeneratePasswordResetToken(userName, tokenExpirationInMinutesFromNow)); }