public function RestResourceConfigInterface::getAuthenticationProviders in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getAuthenticationProviders()
- 9 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getAuthenticationProviders()
Retrieves a list of supported authentication providers.
Parameters
string $method: The request method e.g GET or POST.
Return value
string[] A list of supported authentication provider IDs.
1 method overrides RestResourceConfigInterface::getAuthenticationProviders()
- RestResourceConfig::getAuthenticationProviders in core/
modules/ rest/ src/ Entity/ RestResourceConfig.php - Retrieves a list of supported authentication providers.
File
- core/
modules/ rest/ src/ RestResourceConfigInterface.php, line 48
Class
- RestResourceConfigInterface
- Defines a configuration entity to store enabled REST resources.
Namespace
Drupal\restCode
public function getAuthenticationProviders($method);