【发布时间】:2021-04-15 07:43:24
【问题描述】:
我可以使用 app store connect api 获取用户的 team_id 吗?我看过https://developer.apple.com/documentation/appstoreconnectapi/users,但什么也没看到。对于特定用户,我不一定需要它,而是与该特定应用相关的团队 ID。
【问题讨论】:
标签: ios app-store app-store-connect
我可以使用 app store connect api 获取用户的 team_id 吗?我看过https://developer.apple.com/documentation/appstoreconnectapi/users,但什么也没看到。对于特定用户,我不一定需要它,而是与该特定应用相关的团队 ID。
【问题讨论】:
标签: ios app-store app-store-connect
App Store Connect ID 通过issuer-id 工作,不再像team_id 或portal_team_id 那样暴露旧的/遗留标识,类似于fastlane 通过网络身份验证使用它的方式:https://github.com/fastlane/fastlane/blob/48151291f2c4949c3b1b9919ba2cc81a7cc33293/spaceship/lib/spaceship/portal/spaceship.rb#L42
一个 ASC API 密钥只对一个团队有效,因此在 API 逻辑中它也不应该访问该信息。
【讨论】: