graphql_authentication_errors

If false, there are no authentication errors. If true, execution of the GraphQL request will be prevented and an error will be thrown.

apply_filters( 'graphql_authentication_errors', boolean $authentication_errors, Request $request );

Params

  • $authentication_errors (boolean): Whether there are authentication errors with the request
  • $request (Request): Instance of the Request