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