class UAuthenticationHandler
#include <AuthenticationHandler.h>
class UAuthenticationHandler: public UActorComponent
{
public:
// fields
static bool hasLic = false;
FString ProductName;
FIsUserLoginSuccessfull IsUserLoginSuccessfullTEST;
FOnUserLoginResponse OnUserLoginResponse;
bool Has_License;
FString ConnectionStatus;
// methods
virtual void TickComponent(
float DeltaTime,
ELevelTick TickType,
FActorComponentTickFunction* ThisTickFunction
);
void LoginDeveloper(FMagesAuthenticationCallback Callback);
bool LoginUser(FString _username, FString _password);
bool LoginUserWithoutSSO(
ClientConfiguration* client,
FString identityUrl,
FString username,
FString password,
FString product,
FMagesAuthenticationCallback _result
);
void _IsLoginSuccess(bool _arg);
void RefreshUser();
void RefreshDeveloper();
};