RestExport::$authenticationProviders

The authentication providers' modules, keyed by provider ID.

Authentication providers like 'cookie' and 'basic_auth' are the array keys. The array values are the module names, e.g.:

[
    'cookie' => 'user',
    'basic_auth' => 'basic_auth',
];

Type: string[]

Deprecated

in drupal:8.4.0 and is removed from drupal:9.0.0. see https://www.drupal.org/node/2825204.

File

core/modules/rest/src/Plugin/views/display/RestExport.php, line 110

Class

RestExport
The plugin that handles Data response callbacks for REST resources.

Namespace

Drupal\rest\Plugin\views\display

Code

protected $authenticationProviders;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.