Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login api #37

Merged
merged 12 commits into from
May 15, 2022
Merged

Login api #37

merged 12 commits into from
May 15, 2022

Conversation

wjdwns
Copy link
Collaborator

@wjdwns wjdwns commented May 12, 2022

로그인 작업 완료했습니다.
image
만약 처음 로그인이라면 토큰을 받아 저장한 후 MainFragment로 이동하게 하였고
이미 로그인 되어있다면(로그인된 정보는 로컬db에 shared_prefs 폴더에 로그인 정보가 저장되어있습니다.)
화면을 건너뛰고 main화면으로 가게 해놓았습니다.
token은 위의 그림에 보이다시피 loginToken.preferences_pb파일로 저장해놓았습니다.

wjdwns added 6 commits May 9, 2022 03:06
로그인 되어있지 않은 회원의 경우 -> 로그인 후 accesstoken과 refresh토큰을 로컬db에 저장 후 main으로 이동
로그인 되어있는 회원의 경우 -> 로컬db에 저장되어 있는 accesstoken과 refresh토큰을 가져옴
@wjdwns wjdwns requested a review from onemask May 12, 2022 14:30
@wjdwns wjdwns self-assigned this May 14, 2022
wjdwns and others added 3 commits May 14, 2022 13:20
@wjdwns wjdwns merged commit 4c9a6ad into develop May 15, 2022
@wjdwns wjdwns deleted the LoginApi branch May 15, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants