久久久久久久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>
                          • 主站蜘蛛池模板: 国产午夜精品一区二区三区嫩草 | 美女一区二区在线观看 | 久久久.com | 欧美区在线 | 国产精品免费一区二区三区四区 | 啪啪网页 | 中文字幕亚洲精品 | 国产欧美三区 | 毛片免费观看视频 | 久草精品视频 | 亚洲欧美日韩久久 | 日韩一区二区三区在线 | 成人av一区 | 欧美一区二区三区四区视频 | 亚洲视频精品在线 | 有码一区| 国产精品毛片一区二区在线看 | 国产日产精品一区二区三区四区 | 亚洲精品久久久一区二区三区 | 四虎最新视频 | 国产精品免费一区二区三区四区 | 二区三区视频 | 美国av毛片 | 视频一区二区在线观看 | 蜜桃在线视频 | 中文字幕在线免费观看 | 黄色欧美在线 | 亚州精品成人 | 国产精品一区二区久久 | 久久狠狠| 99久久精品国产一区二区三区 | 欧美精品一区三区 | 久久精品亚洲成在人线av网址 | 天天澡天天操 | 依人成人 | 亚洲国产欧美国产综合一区 | 欧美激情精品久久久久久 | 国产欧美日韩在线一区 | 久久最新精品 | 亚洲成人自拍 | 999精品视频 |