1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-09 11:54:41 -05:00

implement useapi and apikey

This commit is contained in:
Kyle Spearrin
2019-03-02 15:09:33 -05:00
parent 66729fec3f
commit 15cb0ad4c3
11 changed files with 39 additions and 8 deletions

View File

@ -35,6 +35,7 @@ namespace Bit.Core.Models.Api
UseEvents = organization.UseEvents;
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
UseApi = organization.UseApi;
UsersGetPremium = organization.UsersGetPremium;
SelfHost = organization.SelfHost;
}
@ -58,6 +59,7 @@ namespace Bit.Core.Models.Api
public bool UseEvents { get; set; }
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public bool UseApi { get; set; }
public bool UsersGetPremium { get; set; }
public bool SelfHost { get; set; }
}