EOS_Auth_LinkAccount

EOS API reference page for EOS_Auth_LinkAccount

3 分で読めます

This function is part of the Auth Interface.

Remarks

Link external account by continuing previous login attempt with a continuance token. On Desktop and Mobile platforms, the user will be presented the Epic Account Portal to resolve their identity. On Console, the user will login to their Epic Account using an external device, e.g. a mobile device or a desktop PC, by browsing to the presented authentication URL and entering the device code presented by the game on the console. On success, the user will be logged in at the completion of this action. This will commit this external account to the Epic Account and cannot be undone in the SDK.

Parameters

EOS_Auth_LinkAccount

Parameter Type And NameUsage Information
EOS_HAuth Handle
const EOS_Auth_LinkAccountOptions* Optionsstructure containing the account credentials to use during the link account operation
void* ClientDataarbitrary data that is passed back to you in the CompletionDelegate
const EOS_Auth_OnLinkAccountCallback CompletionDelegatea callback that is fired when the link account operation completes, either successfully or in error

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_Auth_OnLinkAccountCallback to report the results of its operation.

Callback Remarks

Function prototype definition for callbacks passed to EOS_Auth_LinkAccount

Callback Parameters

EOS_Auth_OnLinkAccountCallback

Parameter Type And NameUsage Information
const EOS_Auth_LinkAccountCallbackInfo* DataA EOS_Auth_LinkAccountCallbackInfo containing the output information and result