sharee.bike-App/TestFramework/LoginSessionCopriInfo.cs

66 lines
1.6 KiB
C#
Raw Normal View History

2021-07-12 21:31:46 +02:00
namespace TestTINKLib
{
2022-09-06 16:08:19 +02:00
/// <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;
}
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
public string Mail { get; private set; }
public string Pwd { get; private set; }
public string AuthCookie { get; private set; }
public string DeviceId { get; private set; }
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// First test user which typically has some bikes.
/// </summary>
public static LoginSessionCopriInfo JavaministerHardwareNr1 = new LoginSessionCopriInfo(
"javaminister@gmail.com",
"javaminister",
"6103_4da3044c8657a04ba60e2eaa753bc51a_",
"HwId1000000000000"
);
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// First test user which typically has some bikes.
/// </summary>
public static LoginSessionCopriInfo SkiministerHardwareNr1 = new LoginSessionCopriInfo(
"skiminister@posteo.de",
"skiminister",
"",
"HwId1000000000000"
);
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// User which does not exist in copri.
/// </summary>
public static LoginSessionCopriInfo JavaministerGibtsNet = new LoginSessionCopriInfo(
"javaminister@gmail.com.GibtsNet",
"javaminister",
"",
"HwId1000000000000"
);
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// User which does not exist in copri.
/// </summary>
public static LoginSessionCopriInfo JavaministerKeksGibtsNet = new LoginSessionCopriInfo(
"javaminister@gmail.com",
"javaminister",
"6103_ThisKeksDoesNotExist_",
"HwId1000000000000"
);
}
2021-07-12 21:31:46 +02:00
}