1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

yubico global settings

This commit is contained in:
Kyle Spearrin
2017-06-14 22:40:33 -04:00
parent c30efcaef0
commit 1fc441b6e8
4 changed files with 21 additions and 1 deletions

View File

@ -96,6 +96,8 @@ namespace Bit.Core.Utilities
.AddUserStore<UserStore>()
.AddRoleStore<RoleStore>()
.AddTokenProvider<AuthenticatorTokenProvider>(TwoFactorProviderType.Authenticator.ToString())
.AddTokenProvider<YubicoOtpTokenProvider>(TwoFactorProviderType.YubiKey.ToString())
.AddTokenProvider<DuoTokenProvider>(TwoFactorProviderType.Duo.ToString())
.AddTokenProvider<EmailTokenProvider<User>>(TokenOptions.DefaultEmailProvider);
return identityBuilder;