2021-05-13 20:03:07 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace TINK.Model.User.Account
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds account data.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IAccount
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Mail address.</summary>
|
|
|
|
|
string Mail { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>Password of the account.</summary>
|
|
|
|
|
string Pwd { get; }
|
|
|
|
|
|
2022-01-04 18:59:16 +01:00
|
|
|
|
/// <summary>True if user acknowleged agbs.</summary>
|
|
|
|
|
bool IsAgbAcknowledged { get; }
|
|
|
|
|
|
2021-05-13 20:03:07 +02:00
|
|
|
|
/// <summary>Session cookie used to sign in to copri.</summary>
|
|
|
|
|
string SessionCookie { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>Debug level used to determine which features are available.</summary>
|
|
|
|
|
Permissions DebugLevel { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary> Holds the group of the bike (TINK, Konrad, ...).</summary>
|
|
|
|
|
IEnumerable<string> Group { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|