public function Agent::getCryptMethods in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Controller/Agent.php \Drupal\drd_agent\Controller\Agent::getCryptMethods()
Route callback to retrieve a list of available crypt methods.
Return value
\Symfony\Component\HttpFoundation\Response The response to DRD.
Throws
\Exception
1 string reference to 'Agent::getCryptMethods'
File
- src/
Controller/ Agent.php, line 78
Class
- Agent
- Class Default.
Namespace
Drupal\drd_agent\ControllerCode
public function getCryptMethods() : Response {
return $this
->deliver(base64_encode(json_encode(CryptBase::getMethods($this->container))));
}