我一直在使用以下示例将Cognito登录引入我的iOS应用程序:https://github.com/awslabs/aws-sdk-ios-samples/tree/master/CognitoYourUserPools-Sample这运行良好,我现在有一个AWSCognitoIdentityUserPool对象,我可以调用currentUser()方法来访问用户。我正在努力寻找的是如何提取AccessToken和IdToken。在android等价物中,AuthenticationHandler的onSuccess方法有一个CognitoUserSession参数,后者又有getI