Skip to content

Commit

Permalink
Update TwoFactorAuthenticationValidator.cs
Browse files Browse the repository at this point in the history
removed unused code
  • Loading branch information
ike-kottlowski authored Oct 22, 2024
1 parent acc6796 commit c3ca34e
Showing 1 changed file with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,28 +295,3 @@ private bool OrgUsing2fa(IDictionary<Guid, OrganizationAbility> orgAbilities, Gu
orgAbilities[orgId].Enabled && orgAbilities[orgId].Using2fa;
}
}

public class TwoFactorResponseBuilder()
{
private User _user;
private Organization _organization;
private Dictionary<TwoFactorProviderType, TwoFactorProvider> _twoFactorProviders;
public Dictionary<string, Dictionary<string, object>> TwoFactorResponse;
public TwoFactorResponseBuilder ForUser(User User)
{
_user = User;
return this;
}

public TwoFactorResponseBuilder WithOrganization(Organization organization)
{
_organization = organization;
return this;
}

public TwoFactorResponseBuilder WithTwoFactorProviders(TwoFactorProviderType type)
{

return this;
}
}

0 comments on commit c3ca34e

Please sign in to comment.