We need a way that you can normally store tokens in the application. There is a client application that accepts a login password and sends it to the server. The server checks the data and gives the application a token. However, the token must be somehow stored, so that later on it to initialize the user. The question is how to do this? Shared Preferences? Is it safe? You just need to shove a ready-made token somewhere and then get it if necessary.