【发布时间】:2014-10-01 10:51:55
【问题描述】:
我正在尝试使用以下代码进行身份验证,
但我无法获取需要传递给以下参数的值, providerId、roleArn、roleSessionName。
但是,webIdentityToken 值我将从我们的本地服务器接收。
AWSWebIdentityCredentialsProvider *provideer = [AWSWebIdentityCredentialsProvider credentialsWithRegionType:AWSRegionUSEast1 providerId:@"" roleArn:@"" roleSessionName:"" webIdentityToken:@""];
问候, 呸
【问题讨论】:
-
您好,您可能需要考虑使用Amazon Cognito。它通过 STS 提供与 Web 联合身份验证相同的提供商支持。
标签: ios authentication amazon-web-services