- more logs - download controller + manager überarbeitet - Retry wird besser angezeigt - Formatierungen
80 lines
1.6 KiB
C#
80 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BS.SharedLauncher.Enums
|
|
{
|
|
public enum UserValidationResult
|
|
{
|
|
UserUnknown = 0,
|
|
UserValid = 1,
|
|
UnknownError = 2,
|
|
TenantUnknown = 3,
|
|
IncorrectPin = 4,
|
|
PinExpired = 5,
|
|
PinAlreadyUsed = 6,
|
|
PasswordExpired = 7,
|
|
EmployeeDeleted = 8,
|
|
UserValidTwoFactorAuthenticationNeeded = 9
|
|
}
|
|
|
|
public enum LauncherPasswortSecurityStrength
|
|
{
|
|
SehrSchwach,
|
|
Schwach,
|
|
Mittelmass,
|
|
Stark,
|
|
SehrStark
|
|
}
|
|
|
|
public enum PasswordValidationResult
|
|
{
|
|
Succesful,
|
|
NotCorrect,
|
|
NotLongEnough,
|
|
NotSpecialEnough,
|
|
NotStrongEnough,
|
|
ImFunnyAndUsingBewoAsPasswordSmile,
|
|
AreTheSame
|
|
}
|
|
|
|
public enum LauncherProgress
|
|
{
|
|
ProgressStart = 0,
|
|
DownloadStart = 1,
|
|
DownloadUpdate = 2,
|
|
DownloadRetry = 21,
|
|
DownloadFinish = 3,
|
|
ApplyStart = 4,
|
|
ApplyUpdate = 5,
|
|
ApplyFinished = 6,
|
|
DeleteStart = 7,
|
|
DeleteUpdate = 8,
|
|
DeleteFinished = 9,
|
|
CleanupStart = 10,
|
|
CleanupUpdate = 11,
|
|
CleanupFinished = 12,
|
|
ProgressEnd = 13,
|
|
}
|
|
|
|
public enum LauncherMode
|
|
{
|
|
Install = 0,
|
|
Update = 1,
|
|
Uninstall = 2
|
|
}
|
|
|
|
public enum UpdateFileSource
|
|
{
|
|
Invalid = 0,
|
|
VersionDefault = 1,
|
|
VersionTenant = 2,
|
|
VersionUser = 3,
|
|
OverrideTenant = 4,
|
|
OverrideUser = 5
|
|
}
|
|
}
|