2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Yes, it makes sense to use Amplify for Swift, even if you use only the Authentication (Cognito) plugin. Amplify Swift libraries provide high level abstraction that keep you free from low level AWS API details.
If you want full control and code it yourself, the alternative is to use the AWS SDK for Swift (in preview)
To answer your last question about pricing: Amplify libraries and command lines are free to use. You only pay for the AWS resource it creates for you (like a cognito user pool)
beantwortet vor einem Jahr
-1
You can use the following: amazon-cognito-identity-js. As noted here, the package will be hosted as part of the Amplify repo.
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
So on my backend service, I only receive the JWT that Cognito should return. All the authentication flow should be on the device, so I would use a Swift package to deal with sign-in, in that case, should I should AWS Amplify (https://github.com/aws-amplify/amplify-ios)? Or, is there any other library that uses only Cognito?