authenticated1.0.0

@authenticated directive

Authenticated

Provides an @authenticated directive which prevents access to elements in the query when the user is not authenticated.

[extension.authenticated] version = "1.0"
extend schema @link(url: "https://grafbase.com/extensions/authenticated/1.0.0", import: ["@authenticated"]) type Query { public: String! mustBeAuthenticated: String! @authenticated }
12 Mar, 2025
Julius de Bruijn
InstallAdd this to your TOML configuration file:
[extensions] authenticated = "1.0.0"