EOS API reference page for EOS_Ecom_QueryEntitlementToken

3 분 소요

This function is part of the Ecom Interface.


Query the entitlement verification status defined with Epic Online Services. An optional set of entitlement names can be provided to filter the set of entitlements associated with the account. The data is return via the callback in the form of a signed JWT that should be verified by an external backend server using a public key for authenticity.



Parameter Type And NameUsage Information
EOS_HEcom Handle
const EOS_Ecom_QueryEntitlementTokenOptions* Optionsstructure containing the account and catalog item IDs to retrieve in token form
void* ClientDataarbitrary data that is passed back to you in the CompletionDelegate
const EOS_Ecom_OnQueryEntitlementTokenCallback CompletionDelegatea callback that is fired when the async operation completes, either successfully or in error

Callback Function Information

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

Callback Remarks

Function prototype definition for callbacks passed to EOS_Ecom_QueryEntitlementToken.

Callback Parameters


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