mirror of
https://github.com/bitwarden/server.git
synced 2026-02-01 14:43:10 +08:00
* Mock out provider models and service * Implement CreateAsync, CompleteSetupAsync, UpdateAsync, InviteUserAsync and ResendInvitesAsync * Implement AcceptUserAsync and ConfirmUsersAsync * Implement SaveUserAsync and DeleteUserAsync * Add email templates * Add admin operations for providers * Fix mail template names * Rename roles * Verify provider has provideradmin * Add self hosted check to admin controller * Resolve review comments * Update sql queries * Change create provider to use email instead of userId
15 lines
440 B
C#
15 lines
440 B
C#
namespace Bit.Core.Models.Mail.Provider
|
|
{
|
|
public class ProviderSetupInviteViewModel : BaseMailModel
|
|
{
|
|
public string ProviderId { get; set; }
|
|
public string Email { get; set; }
|
|
public string Token { get; set; }
|
|
public string Url => string.Format("{0}/setup-provider?providerId={1}&email={2}&token={3}",
|
|
WebVaultUrl,
|
|
ProviderId,
|
|
Email,
|
|
Token);
|
|
}
|
|
}
|