Not able to resolve and handle the parameters in widget intentdefinition.

My app has a login feature and when i edit the widget, I want the intent parameters to be shown only for logged in users. I read in this article that these kind of validations can be done via the resolve, confirm and handle protocol methods. I am not sure i am on the right path for my use case, but the thing is these protocol methods are not getting called even to check. Can anyone help me on this?
Not able to resolve and handle the parameters in widget intentdefinition.
 
 
Q