public function KeyTypeAuthenticationMethodInterface::getAuthenticationMethod in Apigee Edge 8
Gets the authentication method object.
Parameters
\Drupal\key\KeyInterface $key: The key entity.
Return value
\Http\Message\Authentication The authentication object.
1 method overrides KeyTypeAuthenticationMethodInterface::getAuthenticationMethod()
- ApigeeAuthKeyType::getAuthenticationMethod in src/
Plugin/ KeyType/ ApigeeAuthKeyType.php - Gets the authentication method object.
File
- src/
Plugin/ KeyTypeAuthenticationMethodInterface.php, line 39
Class
- KeyTypeAuthenticationMethodInterface
- Interface for creating the required authentication method object.
Namespace
Drupal\apigee_edge\PluginCode
public function getAuthenticationMethod(KeyInterface $key) : Authentication;