久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='oTUUr'></bdo><ul id='oTUUr'></ul>
    1. <legend id='oTUUr'><style id='oTUUr'><dir id='oTUUr'><q id='oTUUr'></q></dir></style></legend>

        <small id='oTUUr'></small><noframes id='oTUUr'>

        <tfoot id='oTUUr'></tfoot>
        <i id='oTUUr'><tr id='oTUUr'><dt id='oTUUr'><q id='oTUUr'><span id='oTUUr'><b id='oTUUr'><form id='oTUUr'><ins id='oTUUr'></ins><ul id='oTUUr'></ul><sub id='oTUUr'></sub></form><legend id='oTUUr'></legend><bdo id='oTUUr'><pre id='oTUUr'><center id='oTUUr'></center></pre></bdo></b><th id='oTUUr'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='oTUUr'><tfoot id='oTUUr'></tfoot><dl id='oTUUr'><fieldset id='oTUUr'></fieldset></dl></div>

      1. 使用 AWS Cognito 開發人員身份從我的 ios 應用程序

        Getting full access to DynamoDB from my ios app using AWS Cognito Developer Identities(使用 AWS Cognito 開發人員身份從我的 ios 應用程序獲得對 DynamoDB 的完全訪問權限)
          <tfoot id='tbJaZ'></tfoot>
              • <bdo id='tbJaZ'></bdo><ul id='tbJaZ'></ul>

                <small id='tbJaZ'></small><noframes id='tbJaZ'>

                  <tbody id='tbJaZ'></tbody>
                  <legend id='tbJaZ'><style id='tbJaZ'><dir id='tbJaZ'><q id='tbJaZ'></q></dir></style></legend>
                  <i id='tbJaZ'><tr id='tbJaZ'><dt id='tbJaZ'><q id='tbJaZ'><span id='tbJaZ'><b id='tbJaZ'><form id='tbJaZ'><ins id='tbJaZ'></ins><ul id='tbJaZ'></ul><sub id='tbJaZ'></sub></form><legend id='tbJaZ'></legend><bdo id='tbJaZ'><pre id='tbJaZ'><center id='tbJaZ'></center></pre></bdo></b><th id='tbJaZ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tbJaZ'><tfoot id='tbJaZ'></tfoot><dl id='tbJaZ'><fieldset id='tbJaZ'></fieldset></dl></div>

                  本文介紹了使用 AWS Cognito 開發人員身份從我的 ios 應用程序獲得對 DynamoDB 的完全訪問權限的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我已經實現了一個 AWS Lambda 函數并使用網關返回填充數據:

                  I have implemented a AWS Lambda function and used the gateway to return the fulling data:

                  var param =
                  {
                      IdentityPoolId: "actualIdentityPoolId",
                      Logins: {} // To have provider name in a variable
                  };
                  param.Logins["com.testing.userLogin"] = userId;
                  
                  cognitoidentity.getOpenIdTokenForDeveloperIdentity(param,
                  function(err, data)
                  {
                      if (err) return fn(err); // an error occurred
                      else fn(null, data.IdentityId, data.Token); // successful response
                  });
                  

                  因此,identityId 和 token 會被發送回 ios 設備.在我的設備中,我嘗試連接到 AWS DynamoDB 表,但訪問被拒絕.如何使用 identityId 和 token 來訪問表?

                  So the identityId and token get sent back to the ios device. In my device I try to connect to an AWS DynamoDB table but access is denied. How do I use the identityId and token to gain access to the tables?

                  我在 IAM 中為 Unauth 設置了角色,該角色拒絕 Dydnamo 和 Auth,后者通過其策略授予對表的訪問權限.

                  I have set up roles in IAM for Unauth which denies Dydnamo and Auth which gives access to the tables through its policies.

                  我正在嘗試使用以下方式實現身份驗證:http://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html

                  I am trying to implement authentication using: http://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html

                  我看到有兩個流程,基本流程和增強流程.文檔說大多數用戶將使用增強的流程并實現 GetCredentialForIdentity.

                  I see there are two flows which are Basic and Enhanced. The documentation says most users will use the enhanced flow and that implements GetCredentialForIdentity.

                  這是如何在我的 ios 代碼中實現的,以便我可以將我的角色從 unauth 切換到 auth 并可以訪問 dynamodb?這種訪問會持續多久?我想在我的 ios 代碼中完成這一切,而不是使用 lambda 或其他類似的東西.

                  How is that implemented in my ios code so that I can switch my role from unauth to auth and can access to dynamodb? How long will this access last? I would like to do this all in my ios code instead of using lambda or something else like that.

                  推薦答案

                  如果您的用戶未經身份驗證,那么您需要在登錄時清除您的憑據,并且您的登錄"方法現在應該返回正確更新的登錄映射.

                  If your user is unauthenticated, then logs in you need to clear your credentials, and your 'logins' method should now return a properly updated logins map.

                  以下是可幫助您的文檔:http://docs.aws.amazon.com/cognito/latest/developerguide/developer-authenticated-identities.html

                  Here is the documentation to help you: http://docs.aws.amazon.com/cognito/latest/developerguide/developer-authenticated-identities.html

                  這篇關于使用 AWS Cognito 開發人員身份從我的 ios 應用程序獲得對 DynamoDB 的完全訪問權限的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  CLLocation returning negative speed(CLLocation 返回負速度)
                  Locations in Core Data sorted by distance via NSFetchedResultsController?(通過 NSFetchedResultsController 按距離排序的核心數據中的位置?)
                  Swift: Geofencing / geolocations near user location(Swift:用戶位置附近的地理圍欄/地理位置)
                  How to get Location (latitude amp; longitude value) in variable on iOS?(如何在 iOS 上的變量中獲取位置(緯度和經度值)?)
                  How to track the device location (iOS and Android) device using Phonegap(如何使用 Phonegap 跟蹤設備位置(iOS 和 Android)設備)
                  Easiest way of getting reverse geocoded current location from iOS(從 iOS 獲取反向地理編碼當前位置的最簡單方法)

                  <small id='41s3R'></small><noframes id='41s3R'>

                  <legend id='41s3R'><style id='41s3R'><dir id='41s3R'><q id='41s3R'></q></dir></style></legend>

                      <tbody id='41s3R'></tbody>

                  1. <i id='41s3R'><tr id='41s3R'><dt id='41s3R'><q id='41s3R'><span id='41s3R'><b id='41s3R'><form id='41s3R'><ins id='41s3R'></ins><ul id='41s3R'></ul><sub id='41s3R'></sub></form><legend id='41s3R'></legend><bdo id='41s3R'><pre id='41s3R'><center id='41s3R'></center></pre></bdo></b><th id='41s3R'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='41s3R'><tfoot id='41s3R'></tfoot><dl id='41s3R'><fieldset id='41s3R'></fieldset></dl></div>

                      • <bdo id='41s3R'></bdo><ul id='41s3R'></ul>
                          • <tfoot id='41s3R'></tfoot>
                          • 主站蜘蛛池模板: 日韩在线一区二区 | 久久夜视频| 久久精品欧美一区二区三区不卡 | 国产一区三区视频 | 在线播放一区二区三区 | 色综合天天网 | 久色网| 成人在线精品视频 | 伊人中文字幕 | 午夜天堂精品久久久久 | 黄频视频| 久久久久久成人 | 成人精品一区 | 久久国产精品免费一区二区三区 | 日韩国产中文字幕 | 国产激情自拍视频 | 日韩欧美国产成人一区二区 | 国产在线精品一区 | 久久一区二区三区四区五区 | 国产成人精品一区二区三区视频 | 国产精品自产av一区二区三区 | 久久精品欧美一区二区三区不卡 | 久久国产精品免费一区二区三区 | 91精品久久久久久久久久小网站 | 久久国产日本 | a免费视频 | 日日噜噜夜夜爽爽狠狠 | 一区二区在线免费观看 | 免费在线观看一区二区 | 特黄毛片视频 | 国产精品福利视频 | 国产一区二区在线观看视频 | 久久一二区 | 国产日韩一区二区三区 | 国产精品色 | www.国产精 | 欧美成人综合 | 日日干日日操 | 这里有精品 | 99这里只有精品视频 | 午夜欧美 |