Provider entitlement implementation
Methods
# inner checkEntitlement(user, contentId) → {boolean}
Check if the provided user is entitled for the provided content
Parameters:
Name | Type | Description |
---|---|---|
user |
User
|
The User |
contentId |
String
|
Content to check against |
whether the user is entitled or not
boolean