1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

[SSO Auto Enroll] Add API for auto enroll status retrieval (#1583)

* [SSO Auto Enroll] Add API for auto enroll status retrieval

* Add another user check to API

* Updated vague boolean name
This commit is contained in:
Vincent Salucci
2021-09-15 12:23:47 -05:00
committed by GitHub
parent 97b27220dd
commit 00332e72e4
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,16 @@
using System;
namespace Bit.Core.Models.Api.Response
{
public class OrganizationAutoEnrollStatusResponseModel : ResponseModel
{
public OrganizationAutoEnrollStatusResponseModel(Guid orgId, bool resetPasswordEnabled) : base("organizationAutoEnrollStatus")
{
Id = orgId.ToString();
ResetPasswordEnabled = resetPasswordEnabled;
}
public string Id { get; set; }
public bool ResetPasswordEnabled { get; set; }
}
}