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.
@AuthenticationPrincipal
1 parent 0842deb commit b17d4e2Copy full SHA for b17d4e2
spring-graphql-docs/src/docs/asciidoc/index.adoc
@@ -1032,7 +1032,10 @@ See <<controllers-schema-mapping-data-loader>>.
1032
| For access to the context from the `DataFetchingEnvironment`.
1033
1034
| `java.security.Principal`
1035
-| Obtained from Spring Security context, if available.
+| Obtained from the Spring Security context, if available.
1036
+
1037
+| `@AuthenticationPrincipal`
1038
+| For access to `Authentication#getPrincipal()` from the Spring Security context.
1039
1040
| `DataFetchingFieldSelectionSet`
1041
| For access to the selection set for the query through the `DataFetchingEnvironment`.
0 commit comments