验证在 google 上注册的用户的好方法是什么?
what is the good way to verify the user who rgistered on google signup?
所以在我的移动应用程序上,我希望使用 Google 登录 API 进行用户注册。我正在保存 first name
、Lastname
、email
等用户详细信息。以上数据将存储在Firestore中。
我的问题是
- will this
uid
and OAuth Token
be useful later? if yes in what way it'll be useful?
- After registration what should I do to verify the user and make the user login? Since we don't use any passwords for verification.
在数据库中存储用户数据的专业方法是什么?
Oauth 令牌允许您根据授权范围调用 google API。使用身份附加时,请致电...
https://www.googleapis.com/gmail/v1/users/me/profile
将 Oauth 令牌附加到授权 Header。如果您收到回复,则表示用户已注册。
使用 Google 登录 API 这几乎是您可以使用令牌做的所有事情。 :)
所以在我的移动应用程序上,我希望使用 Google 登录 API 进行用户注册。我正在保存 first name
、Lastname
、email
等用户详细信息。以上数据将存储在Firestore中。
我的问题是
- will this
uid
andOAuth Token
be useful later? if yes in what way it'll be useful?- After registration what should I do to verify the user and make the user login? Since we don't use any passwords for verification.
在数据库中存储用户数据的专业方法是什么?
Oauth 令牌允许您根据授权范围调用 google API。使用身份附加时,请致电...
https://www.googleapis.com/gmail/v1/users/me/profile
将 Oauth 令牌附加到授权 Header。如果您收到回复,则表示用户已注册。
使用 Google 登录 API 这几乎是您可以使用令牌做的所有事情。 :)