mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 18:23:51 +00:00
[PM-4800] Send item domain name to fastmail (#2867)
* Send item domain name to fastmail - Added a metadata field (forDomain:) to the Fastmail Forwarder API request that's set to the domain name of the item being added to the vault, or to "" if the username generator is being used in standalone mode. This allows the user's Fastmail account to display the domain name for the username that was generated. * Minor changes for readability * dotnet format --------- Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
This commit is contained in:
@@ -46,7 +46,11 @@ namespace Bit.Core.Models.Domain
|
||||
case ForwardedEmailServiceType.DuckDuckGo:
|
||||
return new ForwarderOptions { ApiKey = DuckDuckGoApiKey };
|
||||
case ForwardedEmailServiceType.Fastmail:
|
||||
return new ForwarderOptions { ApiKey = FastMailApiKey };
|
||||
return new FastmailForwarderOptions
|
||||
{
|
||||
ApiKey = FastMailApiKey,
|
||||
Website = EmailWebsite
|
||||
};
|
||||
case ForwardedEmailServiceType.FirefoxRelay:
|
||||
return new ForwarderOptions { ApiKey = FirefoxRelayApiAccessToken };
|
||||
case ForwardedEmailServiceType.SimpleLogin:
|
||||
|
||||
Reference in New Issue
Block a user