sharee.bike-App/TestFramework/LoginSessionCopriInfo.cs
2022-01-04 18:59:16 +01:00

65 lines
2 KiB
C#

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"
);
}
}