zhaonian / GHub

a Github Android Client that practices latest Jetpack components, dagger and some other fun stuff!
Apache License 2.0
6 stars 1 forks source link

authentication architecture #7

Open zhaonian opened 4 years ago

zhaonian commented 4 years ago

may need to maintain a session for logged in user.

zhaonian commented 4 years ago

2 scopes for the whole app: Authentication scope + Main scope (which contains profile, repo and stuff)

zhaonian commented 4 years ago

look into OAuth: https://auth0.com/docs/connections/social/github

zhaonian commented 4 years ago

login animation: https://developer.android.com/reference/kotlin/android/view/ViewAnimationUtils.html

zhaonian commented 4 years ago

look into OAuth: https://auth0.com/docs/connections/social/github

https://github.com/zhaonian/GHub/pull/27

zhaonian commented 4 years ago

need a BaseActivity for authentication checking in all activities and some basic UI handling such as loading