EOS API reference page for EOS_Auth_QueryIdToken

2 분 소요

This function is part of the Auth Interface.


Query the backend for an ID token that describes one of the merged account IDs of a local authenticated user. The ID token can be used to impersonate a merged account ID when communicating with online services. An ID token for the selected account ID of a locally authenticated user will always be readily available and does not need to be queried explicitly.



Parameter Type And NameUsage Information
EOS_HAuth Handle
const EOS_Auth_QueryIdTokenOptions* OptionsStructure containing the merged account ID for which to query an ID token.
void* ClientDataArbitrary data that is passed back to you in the CompletionDelegate.
const EOS_Auth_OnQueryIdTokenCallback CompletionDelegateA callback that is fired when the operation completes, either successfully or in error.

Callback Function Information

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

Callback Parameters


Parameter Type And NameUsage Information
const EOS_Auth_QueryIdTokenCallbackInfo* DataOutput parameters for the EOS_Auth_QueryIdToken Function.