问题
I am working on Google OAuth 2.0
, to get information about the users logged in through Google OAuth 2.0
. There is a variety of scopes available like
For getting the user basic profile there is OAuth scope available called profile
which is internally converts to a URL https://www.googleapis.com/auth/plus.profile
and for knowing the logged in user's email id there is a Oauth scope called email
which results in URL https://www.googleapis.com/auth/userinfo.email
.
Now my question is: How to get the creation date of the gmail account of an user?
Is there any OAuth scope available for getting how old the gmail account of logged in user?
回答1:
According to Google API People resource , It doesn't have a property to check the creation date. It might be a security risk as when user forget the password, Google asks for the registration date of account.
来源:https://stackoverflow.com/questions/26564953/how-to-get-creation-date-of-gmail-account-in-google-oauth-2