-(void)loginViewShowingLoggedInUser:(FBLoginView *)loginView
{
AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc]initWithRegionType:AWSRegionUSEast1 identityPoolId:@"us-east-1:xxxxxxxxxxxxxxx-ff6eaba0241e" identityProviderManager:pool];
NSString *token = FBSession.activeSession.accessTokenData.accessToken;
credentialsProvider.logins = @{ @(AWSCognitoLoginProviderKeyFacebook): token};
}
答案 0 :(得分:2)
您可以从AWSAmazon用户池验证用户,而不是联合池。