This is turning out to be a nice exercise. Been forced to dig deeper into Objective-C to Swift 'porting'. Anyway, application now federates to Amazon as the initial identity provider. And I do have Cognito unauthenticated access working in the app. In this case fetching and displaying an image stored in S3.
Oh, and I also reactivated Developer license so I also now have the app running on real hardware.
Next up, figure out how to take an authentication event callback and wire it into the CognitoCredentialsProvider. This page seems to indicate how. It feels like a lot of this is done under the hood in the CredentialsProvider. But I need to see if the source is available to understand what is really going on here. I haven't yet found a concrete Swift example of having an authenticated session being what is handled by Cognito. Only pieces...
No comments:
Post a Comment