当我点击Google登录时,我使用以下代码在onActivityResult方法中获取token:GoogleSignInAccountaccount=result.getSignInAccount();Stringtoken=account.getIdToken();credentialsProvider=newCognitoCachingCredentialsProvider(Login.this,//Context"MyPoolID",//IdentityPoolIDRegions.US_EAST_1//Region);我已使用管理联合身份在Cognito中添加了Google客户