How to use Gmail account to authenticate the app in android?

前端 未结 3 1712
野性不改
野性不改 2021-02-06 15:15

In android how can I authenticate the user by Gmail account. Is their any api or support available for android.

Thanks...

相关标签:
3条回答
  • 2021-02-06 15:57

    Are you asking how to authenticate user in your android app?

    You can create a gmail client to authenticate user based on their gmail a/c but This is a unsupported in android sdk.

    0 讨论(0)
  • 2021-02-06 16:00

    Take a look at my answer here: https://stackoverflow.com/a/10245999/350691 Hope it helps!

    0 讨论(0)
  • 2021-02-06 16:07

    Yes, you can use OAuth in Android. There's a fairly detailed post on this:

    • OAuth in Android using the Google APIs Client Library for Java

    There are also two other Java libraries that you might consider for this purpose:

    • Scribe Java API (also supports using several other identity providers)
    • OAuth Signpost
    0 讨论(0)
提交回复
热议问题