We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80441bd commit c53427fCopy full SHA for c53427f
src/pages/[platform]/build-a-backend/data/aws-appsync-apollo-extensions/index.mdx
@@ -227,7 +227,11 @@ dependencies {
227
```
228
229
```kotlin
230
-Code Sample
+// Use CUP auth mode, reading configuration from AmplifyOutputs
231
+val connector = ApolloAmplifyConnector(context, AmplifyOutputs(R.raw.amplify_outputs))
232
+val apolloClient = ApolloClient.Builder()
233
+ .appSync(connector.endpoint, connector.apiKeyAuthorizer())
234
+ .build()
235
236
237
</InlineFilter>
0 commit comments