I am a web developer and starting to learn android development.
I want to authenticate to a custom server which responds with a user object and a JWT (JSON web token) for further authentication.
I know that I need to use intents to show the login page etc.
In a web environment you have access to a session where you can store data in. But I can't find the same principle for an android application. The state of the current app. I need this because I want to store the user object and JWT for further requests and to gain access to it in other parts of the application without passing it as a parameter every time.
I guess that I just need to know the sibbling of a session in android to accomplish this.
Thanks in advance