M
M
Muhammad2015-04-12 11:45:33
Android
Muhammad, 2015-04-12 11:45:33

Checking authorization in the application?

Hello. I am creating an application in which the user must log in before getting to the main screen. How to check whether the user is logged in or not before launching the activity?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2015-04-12
@GavriKos

What is the question is the answer:
if (isUserAuthorized == true)
In fact: you would write how you authorize it, who checks the correctness of the login / password. Maybe you do it through some kind of Facebook ...

A
Anton Shcherbakov, 2015-04-13
@WestTrade

As an example: after entering the login/password pairing, the client receives a temporary API key. Got a key? So you can continue to work, send requests and receive responses.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question