EOS_Auth_LoginCallbackInfo

EOS API reference page for EOS_Auth_LoginCallbackInfo

阅读时间2分钟

This data structure is part of the Auth Interface.

Remarks

Output parameters for the EOS_Auth_Login Function.

Properties

EOS_Auth_LoginCallbackInfo

PropertyValue
EOS_EResult ResultCodeThe EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
void* ClientDataContext that was passed into EOS_Auth_Login
EOS_EpicAccountId LocalUserIdThe Epic Account ID of the local user who has logged in
const EOS_Auth_PinGrantInfo* PinGrantInfoOptional data returned in the middle of a EOS_LCT_DeviceCode request
EOS_ContinuanceToken ContinuanceTokenIf the user was not found with external auth credentials passed into EOS_Auth_Login, this continuance token can be passed to EOS_Auth_LinkAccount to continue the flow.
const EOS_Auth_AccountFeatureRestrictedInfo* AccountFeatureRestrictedInfoIf the user trying to login is restricted from doing so, the ResultCode of this structure will be EOS_Auth_AccountFeatureRestricted, and AccountFeatureRestrictedInfo will be populated with the data needed to get past the restriction
EOS_EpicAccountId SelectedAccountIdThe Epic Account ID that has been previously selected to be used for the current application. Applications should use this ID to authenticate with online backend services that store game-scoped data for users. Note: This ID may be different from LocalUserId if the user has previously merged Epic accounts into the account represented by LocalUserId, and one of the accounts that got merged had game data associated with it for the application.