Navigation
API > API/Plugins > API/Plugins/MetaHumanSDKEditor
Utility struct to help with obtaining TDS exchange code and setting it on the MetaHumanSDK for user authentication. Runs all of the HTTP requests synchronously.
Note that the exchange code only lasts for a short period of time, so be sure to trigger the authentication code within that time frame.
| Name | FExchangeCodeHandler |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanSDK/Source/MetaHumanSDKEditor/Public/Cloud/MetaHumanTDSUtils.h |
| Include Path | #include "Cloud/MetaHumanTDSUtils.h" |
Syntax
class FExchangeCodeHandler
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Cloud/MetaHumanTDSUtils.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FExchangeCodeHandler() |
Cloud/MetaHumanTDSUtils.h |
Classes
| Name | Remarks |
|---|---|
| FImpl | Actual implementation of TDS exchange authentication. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Impl | TUniquePtr< FImpl > | Cloud/MetaHumanTDSUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Acquire () |
Locks in the first available TDS account to use for authentication. | Cloud/MetaHumanTDSUtils.h | |
bool HasExchangeCode() |
Returns true if exchange code was set successfully, otherwise false. | Cloud/MetaHumanTDSUtils.h | |
void Release() |
Returns the acquired TDS account back to the pool and clears the exchange code. | Cloud/MetaHumanTDSUtils.h |