googlesigninapi

    4熱度

    1回答

    我使用Google登錄API來請求用戶個人資料,喜歡用戶顯示名稱,頭像照片。我得到了null值GoogleSignInAccount.getPhotoUrl(),獲得值GoogleSignInAccount.getDisplayName()。 Gmail帳戶好的,但私人帳戶不是。私人帳戶與Google Gmail相關聯,它可以在我的Gmail帳戶和Google Play商店應用中查看圖片,也可以查

    2熱度

    1回答

    是否有可能增加令牌生命時間或在沒有用戶交互的情況下更新令牌? GoogleSignInResult result GoogleSignInAccount acct = result.getSignInAccount(); email = acct.getEmail(); idToken = acct.getIdToken(); 給我一個令牌,其生命期爲1小時。 什

    1熱度

    4回答

    我執行本教程https://developers.google.com/identity/sign-in/ios/sign-in?configured=true&ver=swift 在拍攝過程中,谷歌的標誌,因爲我可以看到有作者寫的ios谷歌標誌: In these examples, the view controller is a subclass of UIViewController. I

    1熱度

    1回答

    我有3個設備,我測試這個。 Moto G 1st Gen(4.4.4),Moto G 2nd Gen(5.0.1),Nexus 5(6.0.1)。他們都在同一個wifi網絡上。以下代碼完美適用於Moto G 1st Gen,但在另外兩種情況下會自動失效。即使使用不同的帳戶。 我也在運行android 6.0的模擬器中測試過這個問題。請幫忙。 登錄: D/Google Account: handle

    3熱度

    1回答

    我按照Google登錄Android版指南(https://developers.google.com/identity/sign-in/android/backend-auth)上的說明操作,我試圖驗證我的ID令牌。當我去 https://www.googleapis.com/oauth2/v3/tokeninfo?id_token=XYZ123在我的瀏覽器 (其中XYZ123是我的ID令牌我用