BgEngine.Security.Services.CodeFirstSecurity.GeneratePasswordResetToken C# (CSharp) Method

GeneratePasswordResetToken() public static method

public static GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 1440 ) : string
userName string
tokenExpirationInMinutesFromNow int
return string
        public static string GeneratePasswordResetToken(string userName, int tokenExpirationInMinutesFromNow = 1440)
        {
            CodeFirstExtendedProvider provider = VerifyProvider();
            return provider.GeneratePasswordResetToken(userName, tokenExpirationInMinutesFromNow);
        }