Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
Stores online account login credentials (for editor config data).
ONLY use this in trusted environments (like a local config file) and NOT for anything that requires actual security/strong encryption.
| Name | FOnlineAccountStoredCredentials |
| Type | struct |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/OnlineAccountStoredCredentials.h |
| Include Path | #include "OnlineAccountStoredCredentials.h" |
Syntax
USTRUCT ()
struct FOnlineAccountStoredCredentials
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Id | FString | Id of the user logging in (email, display name, facebook id, etc) | OnlineAccountStoredCredentials.h |
|
| Token | FString | Credentials of the user logging in (password or auth token) | OnlineAccountStoredCredentials.h |
|
| TokenBytes | TArray< uint8 > | Token stored as an array of bytes, encrypted | OnlineAccountStoredCredentials.h | |
| Type | FString | Type of account. Needed to identity the auth method to use (epic, internal, facebook, etc) | OnlineAccountStoredCredentials.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Decrypt() |
Decrypt the TokenBytes field into the Token field | OnlineAccountStoredCredentials.h | |
void Encrypt() |
Encrypt the Token field into the TokenBytes field | OnlineAccountStoredCredentials.h | |
bool IsValid() |
OnlineAccountStoredCredentials.h |