3 changed files
WPE.App.Services | ||
IPlatformPreferenceService.cs | ||
ITermsAndConditionsService.cs + | ||
WPE.App.Services.csproj | ||
IPlatformPreferenceService.cs
/WPE.App.Services/IPlatformPreferenceService.cs+12/WPE.App.Services/IPlatformPreferenceService.cs
Add comment 63 /// </summary>
Add comment 64 /// <param name="lastUsedEmail">Email to set</param>
Add comment 65 Task SetLastUsedEmail(string lastUsedEmail);
Add comment 66 Plus
Add comment 67 Plus /// <summary>
Add comment 68 Plus /// Get the acceptance or rejection of terms and conditions entries
Add comment 69 Plus /// </summary>
Add comment 70 Plus /// <returns>Acceptance by entry identifier</returns>
Add comment 71 Plus Task<Dictionary<string, bool>?> GetTermsAndConditionsSelection();
Add comment 72 Plus
Add comment 73 Plus /// <summary>
Add comment 74 Plus /// Set the acceptance or rejection of terms and conditions entries
Add comment 75 Plus /// </summary>
Add comment 76 Plus /// <param name="selection">User selection of entries, pass <see langword="null"/> to clear all data</param>
Add comment 77 Plus Task SetTermsAndConditionsSelection(Dictionary<string, bool>? selection);
Add comment 66 78 }
Add comment 67 79 }
Add comment 68 80
ITermsAndConditionsService.cs
/WPE.App.Services/ITermsAndConditionsService.cs+28/WPE.App.Services/ITermsAndConditionsService.cs
Add comment 1 Plus using Infsoft.WPE.App.DTO;
Add comment 2 Plus
Add comment 3 Plus namespace Infsoft.WPE.App.Services
Add comment 4 Plus {
Add comment 5 Plus /// <summary>
Add comment 6 Plus /// Service to provide terms and conditions operations
Add comment 7 Plus /// </summary>
Add comment 8 Plus public interface ITermsAndConditionsService
Add comment 9 Plus {
Add comment 10 Plus /// <summary>
Add comment 11 Plus /// Query terms and conditions for the tenant the user is about to login to
Add comment 12 Plus /// </summary>
Add comment 13 Plus /// <param name="hint">Mail host, voucher code prefix or the identifier for anonymous login</param>
Add comment 14 Plus /// <returns>List of terms and conditions or <see langword="null"/> when <paramref name="hint"/> does not resolve to any tenant</returns>
Add comment 15 Plus internal List<TermsAndConditions>? GetTermsAndConditions(string hint);
Add comment 16 Plus
Add comment 17 Plus /// <summary>
Add comment 18 Plus /// Check, if the user has accepted the given terms and conditions
Add comment 19 Plus /// </summary>
Add comment 20 Plus /// <remarks>
Add comment 21 Plus /// This is a device setting, will not be synced.
Add comment 22 Plus /// </remarks>
Add comment 23 Plus /// <param name="identifier">Conditions identifier</param>
Add comment 24 Plus /// <returns>Acceptance state, <see langword="null"/> if not found</returns>
Add comment 25 Plus Task<bool?> HasAccepted(string identifier);
Add comment 26 Plus }
Add comment 27 Plus }
Add comment 28 Plus
WPE.App.Services.csproj
/WPE.App.Services/WPE.App.Services.csproj/WPE.App.Services/WPE.App.Services.csproj