1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

email token provider

This commit is contained in:
Kyle Spearrin
2018-12-19 22:27:45 -05:00
parent 4a38713c4b
commit 951e8f562e
6 changed files with 121 additions and 51 deletions

View File

@ -14,6 +14,7 @@ using Dapper;
using System.Globalization;
using System.Web;
using Microsoft.AspNetCore.DataProtection;
using Bit.Core.Enums;
namespace Bit.Core.Utilities
{
@ -474,5 +475,10 @@ namespace Bit.Core.Utilities
return !invalid;
}
public static string CustomProviderName(TwoFactorProviderType type)
{
return string.Concat("Custom_", type.ToString());
}
}
}