AWS Amplify for iOS - User Authentication Tutorial 3/3 - Final Part!

Описание к видео AWS Amplify for iOS - User Authentication Tutorial 3/3 - Final Part!

In this tutorial, we will be learning User Authentication in the AWS Amplify SDK for iOS. This was a hard topic for me to learn because there weren't that many tutorials out there to watch. Once I figured it out though, I was able to create multiple applications using the SDK provided by Amplify. It is a wonderful framework so I thought I should share it with people around here.

This is the final part out of a 3 part series.

Thank you!

Let me know what you guys would like for the next video!
If you enjoyed it, please like, comment, and subscribe. It means a lot to me!

You can contact me at [email protected].
––––––––––––––––––––––––––––––
To Count The Stars by Sapajou   / sapajoubeats  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/-to-count-the-stars
Music promoted by Audio Library    • To Count The Stars – Sapajou (No Copy...  
––––––––––––––––––––––––––––––
Connect with me on LinkedIn:   / henryouang  
Follow me on Twitter:   / henryouang  
Follow me on Instagram:   / henryo84  


Lambda Function:

import json

def lambda_handler(event, context):
Confirm the user
event['response']['autoConfirmUser'] = True

Set the email as verified if it is in the request
if 'email' in event['request']['userAttributes']:
event['response']['autoVerifyEmail'] = True

Set the phone number as verified if it is in the request
if 'phone_number' in event['request']['userAttributes']:
event['response']['autoVerifyPhone'] = True

Return to Amazon Cognito
return event

Комментарии

Информация по комментариям в разработке