game-common / pragma.inventory / EntitlementProviderPlugin /
interface EntitlementProviderPlugin : PragmaServicePlugin
Plugin interface used to manage entitlement fulfillment with a third party provider.
A unique ID for the provider this plugin is implemented for. Used when mapping entitlements returned from fetchPlayerEntitlements to content configured in ThirdPartyEntitlementMappings.json
Used by the Inventory Service to obtain a full view of the player’s entitlements in the third party provider. These results will be used to determine if any Pragma content should be granted or removed from the player’s inventory.
Retrieves the associated IdProviderAccount for a given IdProvider, ex: "STEAM", "TWITCH", etc. or null if no such account can be found.
This method will be invoked with the list consumable entitlements previously returned by fetchPlayerEntitlements that had been successfully marked for fulfillment internally in Pragma.