1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-10 12:24:50 -05:00

Start subscription for provider during setup process. (#3957)

This commit is contained in:
Alex Morask
2024-04-10 14:10:53 -04:00
committed by GitHub
parent 2c36784cda
commit 3cdfbdb22d
14 changed files with 749 additions and 17 deletions

View File

@ -1,5 +1,6 @@
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using Bit.Api.Models.Request;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.Utilities;
@ -22,6 +23,7 @@ public class ProviderSetupRequestModel
public string Token { get; set; }
[Required]
public string Key { get; set; }
public ExpandedTaxInfoUpdateRequestModel TaxInfo { get; set; }
public virtual Provider ToProvider(Provider provider)
{