Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
References
| Module | OnlineSubsystemUtils |
| Header | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/OnlineAccountStoredCredentials.h |
| Include | #include "OnlineAccountStoredCredentials.h" |
Syntax
USTRUCT ()
struct FOnlineAccountStoredCredentials
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | Id | Id of the user logging in (email, display name, facebook id, etc) | |
| FString | Token | Credentials of the user logging in (password or auth token) | |
| TArray< uint8 > | TokenBytes | Token stored as an array of bytes, encrypted | |
| FString | Type | Type of account. Needed to identity the auth method to use (epic, internal, facebook, etc) |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Decrypt () |
Decrypt the TokenBytes field into the Token field | |
| void | Encrypt () |
Encrypt the Token field into the TokenBytes field | |
| bool | IsValid () |