This PR marks the start of allowing third party authentication with the Realm LoginKit.
A new property has been added to LoginViewController called authenticationProvider. This is an object that conforms to the AuthenticationProvider protocol, which allows a third party object to submit the user-entered credentials to an external service, and return a SyncCredentials object that can then be submitted to the Realm Object Server as normal.
This PR also introduces a new object conforming to AuthenticationProvider that demonstrates the basics of integration with AWS Cognito, a user management system by Amazon.
This PR marks the start of allowing third party authentication with the Realm LoginKit.
A new property has been added to
LoginViewController
calledauthenticationProvider
. This is an object that conforms to theAuthenticationProvider
protocol, which allows a third party object to submit the user-entered credentials to an external service, and return aSyncCredentials
object that can then be submitted to the Realm Object Server as normal.This PR also introduces a new object conforming to
AuthenticationProvider
that demonstrates the basics of integration with AWS Cognito, a user management system by Amazon.