Yes, it is possible. For long-lasting login mechanism, you can store Custom ID and use LoginWithCustomID in case there is needs. PlayFab provide an official sample on GitHub which can be a good learning material for you. Please check the authentication scripts in this project.
When you use API calls to login, a Session Ticket will be generated and will last 24 hours. In normal circumstance, there is no need for developer and users to access Session Ticket and we do not suggest storing it locally. It’s better to use custom ID for silent authentication . If you are interested in the corresponding details, please see JayZuo’s answer here.
Before you design your own login system, we highly recommend you to read the Login Basics & Best Practices.
2 People are following this question.