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:
@ -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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user