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

Duo WebSDK Token Provider

This commit is contained in:
Kyle Spearrin
2017-06-21 00:04:25 -04:00
parent 4d6d3c97a3
commit 7095ae0ea1
5 changed files with 83 additions and 1 deletions

View File

@ -99,7 +99,7 @@ namespace Bit.Core.Utilities
.AddRoleStore<RoleStore>()
.AddTokenProvider<AuthenticatorTokenProvider>(TwoFactorProviderType.Authenticator.ToString())
.AddTokenProvider<YubicoOtpTokenProvider>(TwoFactorProviderType.YubiKey.ToString())
.AddTokenProvider<DuoTokenProvider>(TwoFactorProviderType.Duo.ToString())
.AddTokenProvider<DuoWebTokenProvider>(TwoFactorProviderType.Duo.ToString())
.AddTokenProvider<EmailTokenProvider<User>>(TokenOptions.DefaultEmailProvider);
return identityBuilder;