
I would like to instantiate a service class (similar to what app.js would be) which would have some authentication logic and have that service class live throughout the user session. It seems we only have access to client-side javascript code. Is there anything in Power Pages or Portal Management that we could modify?