This function is part of the Ecom Interface.
Remarks
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.
Parameters
EOS_Ecom_QueryEntitlementToken
Parameter Type And Name | Usage Information |
---|---|
EOS_HEcom Handle | |
const EOS_Ecom_QueryEntitlementTokenOptions* Options | structure containing the account and catalog item IDs to retrieve in token form |
void* ClientData | arbitrary data that is passed back to you in the CompletionDelegate |
const EOS_Ecom_OnQueryEntitlementTokenCallback CompletionDelegate | a 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
EOS_Ecom_OnQueryEntitlementTokenCallback
Parameter Type And Name | Usage Information |
---|---|
const EOS_Ecom_QueryEntitlementTokenCallbackInfo* Data | A EOS_Ecom_QueryEntitlementTokenCallbackInfo containing the output information and result. |