EOS_Auth_LinkAccountCallbackInfo

EOS API reference page for EOS_Auth_LinkAccountCallbackInfo

Choose your implementation method:

C

C#

This data structure is part of the Auth Interface.

Remarks

Output parameters for the EOS_Auth_LinkAccount Function.

Properties

EOS_Auth_LinkAccountCallbackInfo

Property

Value

EOS_EResult ResultCode

The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.

void* ClientData

Context that was passed into EOS_Auth_LinkAccount

EOS_EpicAccountId LocalUserId

The Epic Account ID of the local user whose account has been linked during login

const EOS_Auth_PinGrantInfo* PinGrantInfo

Optional data returned when ResultCode is EOS_Auth_PinGrantCode. Once the user has logged in with their Epic Online Services account, the account will be linked with the external account supplied when EOS_Auth_Login was called. EOS_Auth_OnLinkAccountCallback will be fired again with ResultCode in EOS_Auth_LinkAccountCallbackInfo set to EOS_Success.

EOS_EpicAccountId SelectedAccountId

The 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.

Related API Members

This data structure is part of the Auth Interface.

Remarks

Output parameters for the {AuthInterface.LinkAccount} Function.

Properties

Auth.LinkAccountCallbackInfo

Property

Value

Result ResultCode

The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.

object ClientData

Context that was passed into EOS_Auth_LinkAccount

EpicAccountId LocalUserId

The Epic Account ID of the local user whose account has been linked during login

PinGrantInfo PinGrantInfo

Optional data returned when ResultCode is EOS_Auth_PinGrantCode. Once the user has logged in with their Epic Online Services account, the account will be linked with the external account supplied when EOS_Auth_Login was called. EOS_Auth_OnLinkAccountCallback will be fired again with ResultCode in EOS_Auth_LinkAccountCallbackInfo set to EOS_Success.

EpicAccountId SelectedAccountId

The 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.

Related API Members

Tags