Mike Chambers
07/26/2023, 2:23 PMfree trial
member group that needs to expire after 14days, it currently checks for that on login and removes the member group if required, but with a perpetual auth cookie keeping the member signed they can maintain access. I was hoping for an event hook for accessing a protected page, so I can also do the check then, rather than on every page visit?Sebastiaan
07/27/2023, 8:16 AMMike Chambers
07/27/2023, 9:43 AMRecurringHostedService
), but event driven pattern at point of access would be better 🙂
Another thought was to replace IPublicAccessService with my own concrete implementation and extend IsProtected
? would that cover it?Mike Chambers
07/27/2023, 9:46 AMIPublicAccessChecker
and HasMemberAccessToContentAsync
Sebastiaan
07/27/2023, 10:45 AM