Skip to content

Commit 5290b4b

Browse files
committed
updated jwt and jwtClaim, moved security section
1 parent a0906d1 commit 5290b4b

File tree

12 files changed

+31
-30
lines changed

12 files changed

+31
-30
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
* xref:getting-started/toolbox.adoc[]
77
88
* *Reference*
9-
9+
* xref:security/index.adoc[]
10+
** xref:security/configuration.adoc[]
11+
** xref:security/authentication.adoc[]
12+
** xref:security/authorization.adoc[]
13+
** xref:security/impersonation-and-user-switching.adoc[]
14+
** xref:security/operations.adoc[]
1015
* xref:types/index.adoc[]
1116
** xref:types/scalar.adoc[Scalar]
1217
** xref:types/temporal.adoc[Temporal]
@@ -16,12 +21,7 @@
1621
** xref:types/relationships.adoc[]
1722
* xref:directives/index.adoc[]
1823
** xref:directives/database-mapping.adoc[]
19-
** xref:directives/security/index.adoc[]
20-
*** xref:directives/security/configuration.adoc[]
21-
*** xref:directives/security/authentication.adoc[]
22-
*** xref:directives/security/authorization.adoc[]
23-
*** xref:directives/security/impersonation-and-user-switching.adoc[]
24-
*** xref:directives/security/operations.adoc[]
24+
2525
** xref:directives/autogeneration.adoc[]
2626
** xref:directives/schema-configuration/index.adoc[]
2727
*** xref:directives/schema-configuration/global-configuration.adoc[]

modules/ROOT/pages/directives/index.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ a| Required to differentiate interfaces that are used for relationship propertie
3434
|===
3535
| Directive | Description
3636

37-
| xref::/directives/security/authentication.adoc[`@authentication`]
37+
| xref::/security/authentication.adoc[`@authentication`]
3838
| Requires authentication checks when accessing the type.
3939

40-
| xref::/directives/security/authorization.adoc[`@authorization`]
40+
| xref::/security/authorization.adoc[`@authorization`]
4141
| Specifies authorization rules for queries and mutations on the type.
4242

43-
| xref::/directives/security/configuration.adoc#authentication-and-authorization-jwt[`@jwt`]
44-
| Configure the JWT authentication filter to include an additional JWT claim.
43+
| xref::/security/configuration.adoc#authentication-and-authorization-jwt[`@jwt`]
44+
| Configures the JWT authentication and authorization filters to include additional JWT claims.
4545

46-
| xref::/directives/security/configuration.adoc#_nested_claims[`@jwtClaim`]
47-
| Use in combination with `@jwt`.
48-
Configures the JWT authentication filter to include an additional nested JWT claim.
46+
| xref::/security/configuration.adoc#_nested_claims[`@jwtClaim`]
47+
| Used in combination with `@jwt`.
48+
Configures the JWT authentication and authorization filters to include an additional JWT claim which is either nested or using special characters not supported by GraphQL.
4949

5050
| `@subscriptionsAuthorization`
5151
| Specifies authorization rules for subscriptions on the type.

modules/ROOT/pages/directives/security/index.adoc

Lines changed: 0 additions & 13 deletions
This file was deleted.

modules/ROOT/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For every query and mutation that is executed against this generated schema, the
3030
- Extensive xref::queries-aggregations/filtering.adoc[Filtering] and xref::queries-aggregations/sorting.adoc[Sorting] options.
3131
- Options for xref::/directives/database-mapping.adoc[Database mapping] and value xref::/directives/autogeneration.adoc[Autogeneration].
3232
- xref::/queries-aggregations/pagination/index.adoc[Pagination] options.
33-
- xref::/directives/security/index.adoc[Security options] and additional xref::schema-configuration/index.adoc[Schema Configuration].
33+
- xref::/security/index.adoc[Security options] and additional xref::schema-configuration/index.adoc[Schema Configuration].
3434
- An xref::ogm/index.adoc[OGM] (Object Graph Mapper) for programmatic interaction with your GraphQL API.
3535
- A xref::getting-started/toolbox.adoc[Toolbox] (UI) to experiment with your Neo4j GraphQL API on Neo4j Desktop.
3636

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= Security
2+
:description: This section covers security features in the Neo4j GraphQL Library.
3+
:page-aliases: auth/index.adoc, auth/setup.adoc, auth/authentication.adoc, \
4+
auth/authorization.adoc, auth/auth-directive.adoc, auth/subscriptions.adoc, \
5+
auth/authorization/allow.adoc, auth/authorization/bind.adoc, auth/authorization/roles.adoc, \
6+
auth/authorization/where.adoc, authentication-and-authorization/index.adoc
7+
8+
9+
* xref::/security/authentication.adoc[Authentication] - Explicit authentication, configured using the `@authentication` directive.
10+
* xref::/security/authorization.adoc[Authorization] - Authorization rules set using the `@authorization` directive.
11+
* xref::/security/configuration.adoc[Configuration] - Instructions to set up instantiation.
12+
* xref::/security/impersonation-and-user-switching.adoc[Impersonation and user switching] - How to set up impersonation and user switching features.
13+
* xref::/security/operations.adoc[Operations] - Reference on GraphQL queries and how each location in each query triggers the evaluation of different authentication/authorization rules.
File renamed without changes.

0 commit comments

Comments
 (0)