using TINK.Services.CopriApi.ServerUris; namespace TINK.ViewModel.CopriWebView { /// Manages the copri web view for password forgotton use case. public class PasswordForgottonViewModel { /// Holds the merchant id. private string MerchantId { get; } /// Holds the name of the host. private string HostName { get; } public PasswordForgottonViewModel( string merchantId, string hostName) { MerchantId = merchantId; HostName = hostName; } /// Get Uri of web view providing password forgotton functionality. public string Uri => $"https://{HostName}/{HostName.GetAppFolderName()}/Account?sessionid={MerchantId}"; } }