sharee.bike-App/TestTINKLib/LoginSessionCopriInfo.cs

66 lines
2 KiB
C#
Raw Normal View History

2021-07-12 21:31:46 +02:00
namespace TestTINKLib
{
/// <summary>
/// Object do define login session info from copri.
/// </summary>
public struct LoginSessionCopriInfo
{
public LoginSessionCopriInfo(
string p_strMail,
string p_strPwd,
string p_strAuthCookie,
string p_strDeviceId)
{
Mail = p_strMail;
Pwd = p_strPwd;
AuthCookie = p_strAuthCookie;
DeviceId = p_strDeviceId;
}
public string Mail { get; private set; }
public string Pwd { get; private set; }
public string AuthCookie { get; private set; }
public string DeviceId { get; private set; }
/// <summary>
/// First test user which typically has some bikes.
/// </summary>
public static LoginSessionCopriInfo JavaministerHardwareNr1 = new LoginSessionCopriInfo(
"javaminister@gmail.com",
"javaminister",
"6103_4da3044c8657a04ba60e2eaa753bc51a_",
"HwId1000000000000"
);
/// <summary>
/// First test user which typically has some bikes.
/// </summary>
public static LoginSessionCopriInfo SkiministerHardwareNr1 = new LoginSessionCopriInfo(
"skiminister@posteo.de",
"skiminister",
"",
"HwId1000000000000"
);
/// <summary>
/// User which does not exist in copri.
/// </summary>
public static LoginSessionCopriInfo JavaministerGibtsNet = new LoginSessionCopriInfo(
"javaminister@gmail.com.GibtsNet",
"javaminister",
"",
"HwId1000000000000"
);
/// <summary>
/// User which does not exist in copri.
/// </summary>
public static LoginSessionCopriInfo JavaministerKeksGibtsNet = new LoginSessionCopriInfo(
"javaminister@gmail.com",
"javaminister",
"6103_ThisKeksDoesNotExist_",
"HwId1000000000000"
);
}
}