Security

This is the documentation of the GraphQL Library version 6. For the long-term support (LTS) version 5, refer to GraphQL Library version 5 LTS.

  • Configuration - Configuration of JSON Web Token (JWT) authentication with encoded or decoded JWTs.

  • Authentication - Explicit authentication for different operations on different parts of your schema with the @authentication directive.

  • Authorization - Rule-based authorization filtering and validation with the @authorization directive.

  • Subscriptions authorization - Rule-based authorization for subscriptions with the @subscriptionsAuthorization directive.

  • Impersonation and user switching - How to set up impersonation and user switching features.

  • Operations - GraphQL query examples on how to trigger the evaluation of different authentication and authorization rules.