mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 18:23:51 +00:00
[PM-1835] Add ForwardEmail alias to Username Generator (#2803)
* Add ForwardEmail alias to Username Generator * remove unnecessary initializer * Corrected order of alias Generators * PM-4307 - Trigger ForwardEmailDomainName PropertyChanged after initialization
This commit is contained in:
@@ -24,6 +24,8 @@ namespace Bit.Core.Models.Domain
|
||||
public string FastMailApiKey { get; set; }
|
||||
public string AnonAddyApiAccessToken { get; set; }
|
||||
public string AnonAddyDomainName { get; set; }
|
||||
public string ForwardEmailApiAccessToken { get; set; }
|
||||
public string ForwardEmailDomainName { get; set; }
|
||||
public string EmailWebsite { get; set; }
|
||||
|
||||
public ForwarderOptions GetForwarderOptions()
|
||||
@@ -49,6 +51,12 @@ namespace Bit.Core.Models.Domain
|
||||
return new ForwarderOptions { ApiKey = FirefoxRelayApiAccessToken };
|
||||
case ForwardedEmailServiceType.SimpleLogin:
|
||||
return new ForwarderOptions { ApiKey = SimpleLoginApiKey };
|
||||
case ForwardedEmailServiceType.ForwardEmail:
|
||||
return new ForwardEmailForwarderOptions
|
||||
{
|
||||
ApiKey = ForwardEmailApiAccessToken,
|
||||
DomainName = ForwardEmailDomainName
|
||||
};
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user