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 12648b2 commit 4a408beCopy full SHA for 4a408be
modules/ROOT/pages/security/authentication.adoc
@@ -52,9 +52,12 @@ Extend the schema:
52
extend schema @authentication
53
----
54
55
-The `operations` and `jwt` arguments can also be used when the directive is applied to a schema extension.
+The `operations` and `jwt` arguments can also be used when the directive is applied to a schema extension, for example:
56
57
-// ^ should we add links or provide examples?
+[source, graphql, indent=0]
58
+----
59
+extend schema @authentication(operations: [UPDATE, DELETE], jwt: { roles_INCLUDES: "admin" })
60
61
62
=== Authentication for types
63
0 commit comments