I3DHAuthHandler.h Source File#
|
instant3Dhub
|
I3DHAuthHandler.h
Go to the documentation of this file.
14struct FI3DHAuthError
33DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FI3DHAuthSuccessDelegate, FString, AccessToken, bool, WasRefresh);
35DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FI3DHAuthFailureDelegate, const FI3DHAuthError&, Error, bool, WasRefresh);
DECLARE_DYNAMIC_MULTICAST_DELEGATE void FI3DHAuthFailureDelegate(const FI3DHAuthError &Error, bool WasRefresh)
AuthFailure Delegate Type.
DECLARE_DYNAMIC_MULTICAST_DELEGATE void FI3DHAuthSuccessDelegate(FString AccessToken, bool WasRefresh)
AuthSuccess Delegate Type.
@ Error
Indicates a general error that doesn't match any of the specific ones.
Definition I3DHDataTypes.h:1346
FString ErrorHtmlResponse
The error HTML response.
Definition I3DHAuthHandler.h:134
FString SuccessRedirectUrl
URL of the success redirect.
Definition I3DHAuthHandler.h:122
void Reset()
Cancel active login process, if one exists, and delete any obtained login information.
FI3DHAuthSuccessDelegate Succeeded
Delegate invoked if the login process was successful.
Definition I3DHAuthHandler.h:153
void Init(const FString &ClientId, const FString &Scope, const FString &AuthorizationUrl, const FString &TokenUrl)
Configure the handler with required parameters.
FString ErrorRedirectUrl
URL of the error redirect.
Definition I3DHAuthHandler.h:130
FI3DHAuthFailureDelegate Failed
Delegate invoked if the login process has failed.
Definition I3DHAuthHandler.h:157
FString SuccessHtmlResponse
The success HTML response.
Definition I3DHAuthHandler.h:126
FString UserMessage
Error message suitable for display to the end user.
Definition I3DHAuthHandler.h:29
Generated by