Commit Graph

3 Commits

Author SHA1 Message Date
Michael Law f7e12fec3c chore: remove year from file header 2022-01-31 12:18:35 -05:00
Abhash Kumar Singh f4a832fd39
Realtime interceptor changes for GraphQL subscriptions (#53)
* Realtime interceptor changes for graphql subscriptions

* Update code and add more tests

* Add missing files

* Update project files for cocoapods build

* Address review comments

* Address review comments

* Address review comments
2021-11-10 13:27:12 -08:00
Michael Law af4767bf74
Add Interecptors, ConnectionProviderFactory, and integration test target (#4)
* - Moved over the three common interceptor classes: APIKey, IAM, OIDC.
  Refactored the initialization methods to allow consumers to use without taking on a dependency on the auth provider classes vended by AppSync client.
  The reason for this is to prevent a breaking change, we cannot move the auth provider classes over to AppSyncRealTimeClient or AppSyncClient consumers will
  have to take on AppSyncRealTimeClient as a dependency.
- Add ConnectionProviderFactory class for creating connection providers with auth interceptors.
  This is the entry point for consumers to pass (url, authInterceptor) to get a connection provider back.
- Add integration test target with AppSync backend provisioned

* Moved out IAMAuthInterceptor to remove dependency on AWSCore

* removed AWSCore from podspec
2020-03-09 18:54:56 -07:00