问题
I want to develop an application that uses Google as the authentication provider, but I want my app to know if the Google account is using 2-step verification before the account is enrolled in my app.
Can't find the required API in Google dev docs.
回答1:
This answer here explains how to find out if users have 2-step verification turned on. See API documentation here and parameters here.
来源:https://stackoverflow.com/questions/26314602/determine-whether-google-2-factor-authentication-is-enabled-for-a-user-via-api