Requirement for temporary token based page authentication

I am looking for a solution to implement a sharable web page in frappe, that has a token based authentication & a custom token expiry time can be preset before hand.

Has anyone got any pointers to such a solution how we can implement in Frappe?


I found this useful