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

u2f token provider

This commit is contained in:
Kyle Spearrin
2017-06-22 09:09:51 -04:00
parent 731a1e31b9
commit 3ae96bd510
4 changed files with 184 additions and 6 deletions

View File

@ -193,8 +193,10 @@ namespace Bit.Core.IdentityServer
}
else if(type == TwoFactorProviderType.U2f)
{
// TODO: U2F challenge
return new Dictionary<string, object> { };
return new Dictionary<string, object>
{
["Challenges"] = token
};
}
return null;
default: