Add context container in Parse.Cloud.beforeLogin
and Parse.Cloud.afterLogin
#1991
Closed
3 tasks done
Labels
type:feature
New feature or improvement of existing feature
New Feature / Enhancement Checklist
Current Limitation
It is currently not possible to access context data in Parse.Cloud.beforeLogin and Parse.Cloud.afterLogin hook triggers.
Feature / Enhancement Description
Similar to Parse.Cloud.beforeSave and Parse.Cloud.afterSave triggers, where it is possible to get context data feom the context object via the request parameter of the trigger callback.
Example Use Case
Alternatives / Workarounds
In my project, I was forced to use Redis cache and making additional request to the server which wasn't really necessary.
Also, lack of this feature resulted in extra code.
3rd Party References
None
The text was updated successfully, but these errors were encountered: