Handling App Intents Behind Authentication/Paywall

My App has several resources that I'd like to spring open through App Intents. For example a series of Dictionaries. These resources however in the app are behind a log in (for security) and are entitlements that are purchased. They may own 4 of 7 dictionaries.

If I want to have an intent that says, "Open Dictionary: (Dict Name)" how do I best handle situations where the user may no longer be logged in or have the entitlement for that specific dictionary?

Thanks

This sample code project has an example of a log in feature that shows how to handle such a scenario with needsToContinueInForegroundError.

Handling App Intents Behind Authentication/Paywall
 
 
Q