You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Finish Cognito identity provider scenario
This commit finishes the last touches on the Cognito identity provider
scenario example with cleanup, added comments, much better error handling, and
a README. It also moves the scenario into the `cognito-identity-provider` directory.
# Amazon Cognito Identity Provider code examples for the SDK for Swift
2
+
3
+
## Overview
4
+
5
+
Shows how to use the AWS SDK for Swift to work with Amazon Cognito Identity Provider.
6
+
7
+
<!--custom.overview.start-->
8
+
<!--custom.overview.end-->
9
+
10
+
_Amazon Cognito Identity Provider handles user authentication and authorization for your web and mobile apps._
11
+
12
+
## ⚠ Important
13
+
14
+
* Running this code might result in charges to your AWS account. For more details, see [AWS Pricing](https://aws.amazon.com/pricing/) and [Free Tier](https://aws.amazon.com/free/).
15
+
* Running the tests might result in charges to your AWS account.
16
+
* We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see [Grant least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege).
17
+
* This code is not tested in every AWS Region. For more information, see [AWS Regional Services](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services).
18
+
19
+
<!--custom.important.start-->
20
+
<!--custom.important.end-->
21
+
22
+
## Code examples
23
+
24
+
### Prerequisites
25
+
26
+
For prerequisites, see the [README](../../README.md#Prerequisites) in the `swift` folder.
27
+
28
+
29
+
<!--custom.prerequisites.start-->
30
+
<!--custom.prerequisites.end-->
31
+
32
+
### Single actions
33
+
34
+
Code excerpts that show you how to call individual service functions.
-[Amazon Cognito Identity Provider API Reference](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/Welcome.html)
109
+
-[SDK for Swift Amazon Cognito Identity Provider reference](https://sdk.amazonaws.com/swift/api/awscognitoidentityprovider/latest/documentation/awscognitoidentityprovider)
110
+
111
+
<!--custom.resources.start-->
112
+
<!--custom.resources.end-->
113
+
114
+
---
115
+
116
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
0 commit comments