I am working on an application that needs some kind of authorization: users submit their username and password, and the server responds with some tokens, which are then sent as headers in each API request. I used to save these tokens in the AccountManager. And now I am wondering if it is possible to integrate with Smartlock. But how to deal with these tokens? Although the user can be registered on the mobile version of the site, I need these tokens to make API requests. Can I integrate these authorization tokens and Smartlock?
source
share