File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
python/example_code/cognito Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file://zonbook/docbookx.dtd" [
3+ <!ENTITY % phrases-shared SYSTEM " file://AWSShared/common/phrases-shared.ent" >
4+ %phrases-shared;
5+ ]>
6+ <block >
7+ <para >
8+ Shows web-based demo application that demonstrates &COG; identity
9+ pools authentication flows, allowing users to interactively explore both enhanced and
10+ basic authentication flows with various identity providers.
11+ </para >
12+ <para >For complete source code and instructions on how to set up and run, see the full example
13+ on <ulink
14+ url =" https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/python/example_code/cognito/scenarios/identity_pools_example_demo" >
15+ GitHub</ulink >.</para >
16+ </block >
Original file line number Diff line number Diff line change @@ -1005,3 +1005,18 @@ cross_MonitorDynamoDB:
10051005 services :
10061006 dynamodb :
10071007 cloudwatch :
1008+ cross_CognitoFlows :
1009+ title : Use &COG; identity pools and authentication flows
1010+ title_abbrev : Use &COG; identity pools
1011+ synopsis :
1012+ create a web-based demo application that demonstrates identity pools authentication flows.
1013+ category : Scenarios
1014+ languages :
1015+ Python :
1016+ versions :
1017+ - sdk_version : 3
1018+ github : python/example_code/cognito/scenarios/identity_pools_example_demo
1019+ block_content : cross_CognitoFlows_Python_block.xml
1020+ service_main : cognito-identity-provider
1021+ services :
1022+ cognito-identity-provider :
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ Code examples that show you how to accomplish a specific task by calling multipl
6262functions within the same service.
6363
6464- [ Sign up a user with a user pool that requires MFA] ( cognito_idp_actions.py )
65+ - [ Use Amazon Cognito identity pools] ( ../../example_code/cognito/scenarios/identity_pools_example_demo )
6566
6667
6768<!-- custom.examples.start-->
@@ -114,6 +115,18 @@ python cognito_idp_actions.py
114115<!-- custom.scenarios.cognito-identity-provider_Scenario_SignUpUserWithMfa.start-->
115116<!-- custom.scenarios.cognito-identity-provider_Scenario_SignUpUserWithMfa.end-->
116117
118+ #### Use Amazon Cognito identity pools
119+
120+ This example shows you how to create a web-based demo application that demonstrates identity pools authentication flows.
121+
122+
123+ <!-- custom.scenario_prereqs.cross_CognitoFlows.start-->
124+ <!-- custom.scenario_prereqs.cross_CognitoFlows.end-->
125+
126+
127+ <!-- custom.scenarios.cross_CognitoFlows.start-->
128+ <!-- custom.scenarios.cross_CognitoFlows.end-->
129+
117130### Tests
118131
119132⚠ Running tests might result in charges to your AWS account.
You can’t perform that action at this time.
0 commit comments