graphql_authentication_errors
apply_filters( 'graphql_authentication_errors', null, self::get_request() );
Allow plugins to prevent the downgrade via the graphql_authentication_errors filter.
- Type: filter
- Group: Authentication and Authorization
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Router.php
Parameters
$authentication_errors(bool|null): Null to allow default behavior, false to preserve auth.$request(\WPGraphQL\Request|null): The Request instance (null in Router context).
Source
apply_filters( 'graphql_authentication_errors', null, self::get_request() );
Related
Request::filtered_authentication_errors()inplugins/wp-graphql/src/Request.php:646Router::validate_http_request_authentication()inplugins/wp-graphql/src/Router.php:784